diff options
-rw-r--r-- | firmware/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/Makefile b/firmware/Makefile index dbcff16eb8..d9670222b4 100644 --- a/firmware/Makefile +++ b/firmware/Makefile | |||
@@ -20,12 +20,12 @@ TARGET = -DARCHOS_PLAYER=1 | |||
20 | #TARGET = -DARCHOS_PLAYER_OLD=1 | 20 | #TARGET = -DARCHOS_PLAYER_OLD=1 |
21 | #TARGET = -DARCHOS_RECORDER=1 | 21 | #TARGET = -DARCHOS_RECORDER=1 |
22 | 22 | ||
23 | CFLAGS = -W -Wall -m1 -nostdlib -Wstrict-prototypes $(INCLUDES) $(TARGET) | 23 | CFLAGS = -W -Wall -O -m1 -nostdlib -Wstrict-prototypes $(INCLUDES) $(TARGET) |
24 | 24 | ||
25 | ifdef DEBUG | 25 | ifdef DEBUG |
26 | CFLAGS += -O -g -DDEBUG | 26 | CFLAGS += -g -DDEBUG |
27 | else | 27 | else |
28 | CFLAGS += -O -fomit-frame-pointer -fschedule-insns -save-temps | 28 | CFLAGS += -fomit-frame-pointer -fschedule-insns |
29 | endif | 29 | endif |
30 | 30 | ||
31 | AFLAGS += -small -relax | 31 | AFLAGS += -small -relax |