summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2007-02-02 16:11:24 +0000
committerBernhard Reutner-Fischer2007-02-02 16:11:24 +0000
commit493691a4f5023097b909aa8a443bb45dd9d9a68c (patch)
tree0aab5403ae66802bd14094705e9282dfb1334bee /scripts
parent7a7e54a1909371bcff72ab4944ffe36cf369aeec (diff)
downloadbusybox-493691a4f5023097b909aa8a443bb45dd9d9a68c.zip
busybox-493691a4f5023097b909aa8a443bb45dd9d9a68c.tar.gz
- minor tweak
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.IMA5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/Makefile.IMA b/scripts/Makefile.IMA
index 371e570..dec5fde 100644
--- a/scripts/Makefile.IMA
+++ b/scripts/Makefile.IMA
@@ -106,10 +106,11 @@ include libbb/Kbuild
lib-all-y += $(patsubst %,libbb/%,$(sort $(lib-y)))
lib-y:=
+include Makefile.flags
ifndef BB_VER
BB_VER:=""
endif
-include Makefile.flags
+
CPPFLAGS+= -D"KBUILD_STR(s)=\#s" #-Q
HOSTCC = gcc
@@ -117,7 +118,7 @@ CC = gcc
busybox: $(usage_stuff)
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_EXTRA) --combine -fwhole-program \
- -funit-at-a-time -Wno-error \
+ -funit-at-a-time -Wno-error -std=gnu99 \
-o $(@)_unstripped $(lib-all-y:.o=.c) \
-Wl,--start-group -lcrypt -lm -Wl,--end-group
cp $(@)_unstripped $@