svn commit: trunk/busybox/scripts
aldot at busybox.net
aldot at busybox.net
Fri Apr 11 12:31:58 UTC 2008
Author: aldot
Date: 2008-04-11 05:31:57 -0700 (Fri, 11 Apr 2008)
New Revision: 21710
Log:
- also use the incoming LDFLAGS and EXTRA_LDFLAGS
This isn't perfect since it will barf on linker flags with two args like -Wl,z,now et al.
Modified:
trunk/busybox/scripts/Makefile.IMA
Changeset:
Modified: trunk/busybox/scripts/Makefile.IMA
===================================================================
--- trunk/busybox/scripts/Makefile.IMA 2008-04-11 11:59:09 UTC (rev 21709)
+++ trunk/busybox/scripts/Makefile.IMA 2008-04-11 12:31:57 UTC (rev 21710)
@@ -145,8 +145,10 @@
lib-all-y += $(patsubst %,libbb/%,$(sort $(lib-y)))
lib-y:=
+comma:=,
busybox: $(usage_stuff) include/applet_tables.h
$(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) \
+ $(patsubst %,-Wl$(comma)%,$(LDFLAGS) $(EXTRA_LDFLAGS)) \
-DGCC_COMBINE=1 \
--combine $(WHOLE_PROGRAM) \
-funit-at-a-time -Wno-error -std=gnu99 \
More information about the busybox-cvs
mailing list