- minor tweak

This commit is contained in:
Bernhard Reutner-Fischer 2007-02-02 16:11:24 +00:00
parent 7a7e54a190
commit 493691a4f5

View File

@ -106,10 +106,11 @@ include libbb/Kbuild
lib-all-y += $(patsubst %,libbb/%,$(sort $(lib-y))) lib-all-y += $(patsubst %,libbb/%,$(sort $(lib-y)))
lib-y:= lib-y:=
include Makefile.flags
ifndef BB_VER ifndef BB_VER
BB_VER:="" BB_VER:=""
endif endif
include Makefile.flags
CPPFLAGS+= -D"KBUILD_STR(s)=\#s" #-Q CPPFLAGS+= -D"KBUILD_STR(s)=\#s" #-Q
HOSTCC = gcc HOSTCC = gcc
@ -117,7 +118,7 @@ CC = gcc
busybox: $(usage_stuff) busybox: $(usage_stuff)
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_EXTRA) --combine -fwhole-program \ $(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) \ -o $(@)_unstripped $(lib-all-y:.o=.c) \
-Wl,--start-group -lcrypt -lm -Wl,--end-group -Wl,--start-group -lcrypt -lm -Wl,--end-group
cp $(@)_unstripped $@ cp $(@)_unstripped $@