summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/Makefile2
-rw-r--r--firmware/Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/Makefile b/apps/Makefile
index bd76209fad..e375cb9b1d 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -25,7 +25,7 @@ TARGET = -DARCHOS_PLAYER_OLD=1
25# store output files in this directory: 25# store output files in this directory:
26OBJDIR = . 26OBJDIR = .
27 27
28CFLAGS = -O -W -Wall -m1 -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) $(DEFINES) -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES) 28CFLAGS = -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) $(DEFINES) -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES)
29AFLAGS += -small -relax 29AFLAGS += -small -relax
30 30
31ifdef DEBUG 31ifdef DEBUG
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:
26OBJDIR = . 26OBJDIR = .
27 27
28CFLAGS = -W -Wall -O -m1 -nostdlib -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) 28CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES)
29 29
30ifdef DEBUG 30ifdef DEBUG
31CFLAGS += -g -DDEBUG 31CFLAGS += -g -DDEBUG
32else 32else
33CFLAGS += -fomit-frame-pointer -fschedule-insns 33CFLAGS += -fomit-frame-pointer -fschedule-insns
34endif 34endif
35 35
36SRC := $(wildcard drivers/*.c common/*.c *.c) 36SRC := $(wildcard drivers/*.c common/*.c *.c)