diff options
Diffstat (limited to 'firmware/Makefile')
-rw-r--r-- | firmware/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/Makefile b/firmware/Makefile index 03576d19fd..7d09809713 100644 --- a/firmware/Makefile +++ b/firmware/Makefile | |||
@@ -25,12 +25,12 @@ TARGET = -DARCHOS_PLAYER=1 | |||
25 | # store output files in this directory: | 25 | # store output files in this directory: |
26 | OBJDIR = . | 26 | OBJDIR = . |
27 | 27 | ||
28 | CFLAGS = -W -Wall -O -m1 -nostdlib -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) | 28 | CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) |
29 | 29 | ||
30 | ifdef DEBUG | 30 | ifdef DEBUG |
31 | CFLAGS += -g -DDEBUG | 31 | CFLAGS += -g -DDEBUG |
32 | else | 32 | else |
33 | CFLAGS += -fomit-frame-pointer -fschedule-insns | 33 | CFLAGS += -fomit-frame-pointer -fschedule-insns |
34 | endif | 34 | endif |
35 | 35 | ||
36 | SRC := $(wildcard drivers/*.c common/*.c *.c) | 36 | SRC := $(wildcard drivers/*.c common/*.c *.c) |