From eecd588c53066fa5f95bc1ec2249028e0efcc8f3 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 11 Apr 2008 12:42:23 +0000 Subject: - fix detection of whole-program It helps if we first pull in the function we use for testing flags ;) --- scripts/Makefile.IMA | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/Makefile.IMA') diff --git a/scripts/Makefile.IMA b/scripts/Makefile.IMA index 73360f3e1..27163ab36 100644 --- a/scripts/Makefile.IMA +++ b/scripts/Makefile.IMA @@ -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 -- cgit v1.2.3