aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-02 16:11:24 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-02 16:11:24 +0000
commit493691a4f5023097b909aa8a443bb45dd9d9a68c (patch)
tree0aab5403ae66802bd14094705e9282dfb1334bee
parent7a7e54a1909371bcff72ab4944ffe36cf369aeec (diff)
downloadbusybox-w32-493691a4f5023097b909aa8a443bb45dd9d9a68c.tar.gz
busybox-w32-493691a4f5023097b909aa8a443bb45dd9d9a68c.tar.bz2
busybox-w32-493691a4f5023097b909aa8a443bb45dd9d9a68c.zip
- minor tweak
-rw-r--r--scripts/Makefile.IMA5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/Makefile.IMA b/scripts/Makefile.IMA
index 371e570ca..dec5fde83 100644
--- a/scripts/Makefile.IMA
+++ b/scripts/Makefile.IMA
@@ -106,10 +106,11 @@ include libbb/Kbuild
106lib-all-y += $(patsubst %,libbb/%,$(sort $(lib-y))) 106lib-all-y += $(patsubst %,libbb/%,$(sort $(lib-y)))
107lib-y:= 107lib-y:=
108 108
109include Makefile.flags
109ifndef BB_VER 110ifndef BB_VER
110BB_VER:="" 111BB_VER:=""
111endif 112endif
112include Makefile.flags 113
113CPPFLAGS+= -D"KBUILD_STR(s)=\#s" #-Q 114CPPFLAGS+= -D"KBUILD_STR(s)=\#s" #-Q
114 115
115HOSTCC = gcc 116HOSTCC = gcc
@@ -117,7 +118,7 @@ CC = gcc
117 118
118busybox: $(usage_stuff) 119busybox: $(usage_stuff)
119 $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_EXTRA) --combine -fwhole-program \ 120 $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_EXTRA) --combine -fwhole-program \
120 -funit-at-a-time -Wno-error \ 121 -funit-at-a-time -Wno-error -std=gnu99 \
121 -o $(@)_unstripped $(lib-all-y:.o=.c) \ 122 -o $(@)_unstripped $(lib-all-y:.o=.c) \
122 -Wl,--start-group -lcrypt -lm -Wl,--end-group 123 -Wl,--start-group -lcrypt -lm -Wl,--end-group
123 cp $(@)_unstripped $@ 124 cp $(@)_unstripped $@