mirror of https://github.com/mirror/busybox.git
- fix detection of whole-program
It helps if we first pull in the function we use for testing flags ;)1_11_stable
parent
1d690db720
commit
eecd588c53
|
@ -26,7 +26,6 @@ OBJDUMP = $(CROSS_COMPILE)objdump
|
|||
|
||||
CFLAGS := $(CFLAGS)
|
||||
CPPFLAGS+= -D"KBUILD_STR(s)=\#s" #-Q
|
||||
WHOLE_PROGRAM:=$(call cc-option,-fwhole-program,)
|
||||
|
||||
include .config
|
||||
# We need some generic definitions
|
||||
|
@ -41,6 +40,7 @@ ifndef BB_VER
|
|||
BB_VER:=""
|
||||
endif
|
||||
|
||||
WHOLE_PROGRAM:=$(call cc-option,-fwhole-program,)
|
||||
|
||||
# pull in the config stuff
|
||||
lib-all-y := applets/applets.o
|
||||
|
|
Loading…
Reference in New Issue