- minor tweak
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 2 Feb 2007 16:11:24 +0000 (16:11 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 2 Feb 2007 16:11:24 +0000 (16:11 -0000)
scripts/Makefile.IMA

index 371e570ca8f2df93be5775dcb89fd879927ce578..dec5fde838bf6b42e6cad8d47a648b4bc287b18d 100644 (file)
@@ -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 $@