summaryrefslogtreecommitdiff
path: root/apps/Makefile
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-08-20 14:00:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-08-20 14:00:42 +0000
commitef3a3e70930658d499cf200d198e6a86fd183bc0 (patch)
tree8ebeb30712d756445c80f8141426dc04b6ef7cb3 /apps/Makefile
parent3c10db57c6963f49a9238b0e7e9db259e72cd684 (diff)
downloadrockbox-ef3a3e70930658d499cf200d198e6a86fd183bc0.zip
rockbox-ef3a3e70930658d499cf200d198e6a86fd183bc0.tar.gz
rockbox-ef3a3e70930658d499cf200d198e6a86fd183bc0.tar.bz2
rockbox-ef3a3e70930658d499cf200d198e6a86fd183bc0.tar.xz
use the gcc option -ffreestanding: (quote from the gcc man page)
"A freestanding environment is one in which the standard library may not exist, and program startup may not necessarily be at "main". The most obvious example is an OS kernel." git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1818 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/Makefile')
-rw-r--r--apps/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/Makefile b/apps/Makefile
index bd76209..e375cb9 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -25,7 +25,7 @@ TARGET = -DARCHOS_PLAYER_OLD=1
# store output files in this directory:
OBJDIR = .
-CFLAGS = -O -W -Wall -m1 -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) $(DEFINES) -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES)
+CFLAGS = -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) $(DEFINES) -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES)
AFLAGS += -small -relax
ifdef DEBUG