svn commit: trunk/busybox/scripts
aldot at busybox.net
aldot at busybox.net
Mon Feb 12 12:57:38 UTC 2007
Author: aldot
Date: 2007-02-12 04:57:38 -0800 (Mon, 12 Feb 2007)
New Revision: 17863
Log:
- check if the compiler supports -fwhole-program -- 4.0 does not
Modified:
trunk/busybox/scripts/Makefile.IMA
Changeset:
Modified: trunk/busybox/scripts/Makefile.IMA
===================================================================
--- trunk/busybox/scripts/Makefile.IMA 2007-02-12 11:36:27 UTC (rev 17862)
+++ trunk/busybox/scripts/Makefile.IMA 2007-02-12 12:57:38 UTC (rev 17863)
@@ -115,9 +115,9 @@
HOSTCC = gcc
CC = gcc
-
+WHOLE_PROGRAM:=$(call cc-option,-fwhole-program,)
busybox: $(usage_stuff)
- $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_EXTRA) --combine -fwhole-program \
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) --combine $(WHOLE_PROGRAM) \
-funit-at-a-time -Wno-error -std=gnu99 \
-o $(@)_unstripped $(lib-all-y:.o=.c) \
-Wl,--start-group -lcrypt -lm -Wl,--end-group
More information about the busybox-cvs
mailing list