Use -Os for STM apps. Fix altos.ld to matchall .rodata* sections
[fw/altos] / src / stm / Makefile.defs
index c799231a909e5e9093c85cc35fdad1e2366855c5..6191ec45d37a6bd4df4916eaff082b7e33a33d12 100644 (file)
@@ -19,6 +19,8 @@ endif
 AO_CFLAGS=-I. -I../stm -I../core -I..
 STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -nostdlib $(AO_CFLAGS) $(SAT_CFLAGS)
 
+LDFLAGS=-L../stm -Wl,-Taltos.ld
+
 NICKLE=nickle
 
 V=0