Skip to content

Use libgcc.a compiled with -Os instead of the default -O2 on boards that are tight on space #4705

Closed
@dhalbert

Description

@dhalbert

The official ARM gcc toolchain compiles libgcc.a as -O2. The arch Linux ARM toolchain uses -Os. We discovered that building on arch saved a kB or two (at least).

We can consider replacing the stock libgcc.a in the ARM toolchain with a -Os version to make room on the smallest boards for new features.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions