diff options
| author | Keith Packard <keithp@keithp.com> | 2012-03-23 01:42:32 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-03-28 21:37:04 -0700 |
| commit | c1531fb26461b9f4ec39672bbfaeb70e6f4d1056 (patch) | |
| tree | d6ae89d6a1ae982f71346d3dce477d8ffcf527cf /src/megametrum-v0.1/Makefile | |
| parent | f2c110fb4531144f18f62200e4127738c84e87f1 (diff) | |
Use -Os for STM apps. Fix altos.ld to matchall .rodata* sections
Without .rodata*, it would stick the flash copy of the data on top of
any further .rodata* sections. Fortunately, the linker catches that
and complains...
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/megametrum-v0.1/Makefile')
| -rw-r--r-- | src/megametrum-v0.1/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/megametrum-v0.1/Makefile b/src/megametrum-v0.1/Makefile index ed91d04f..510bee6a 100644 --- a/src/megametrum-v0.1/Makefile +++ b/src/megametrum-v0.1/Makefile @@ -36,7 +36,7 @@ PRODUCT=MegaMetrum-v0.1 PRODUCT_DEF=-DMEGAMETRUM IDPRODUCT=0x000a -CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) +CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -Os -g PROG=megametrum-v0.1 |
