pass EXTRA_CFLAGS to final link since it may contain things that affect linking ...
authorMike Frysinger <vapier@gentoo.org>
Tue, 27 Sep 2005 04:06:39 +0000 (04:06 -0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 27 Sep 2005 04:06:39 +0000 (04:06 -0000)
Makefile

index a88062e54bdfc425928ec478db2cf6a0abeb7eb6..f71c536940219496ae2badbe5a1190a57ce92994 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -139,7 +139,7 @@ include $(patsubst %,%/Makefile.in, $(SRC_DIRS))
 -include $(top_builddir)/.depend
 
 busybox: $(ALL_MAKEFILES) .depend $(libraries-y)
-       $(CC) $(LDFLAGS) -o $@ -Wl,--start-group $(libraries-y) $(LIBRARIES) -Wl,--end-group
+       $(CC) $(EXTRA_CFLAGS) $(LDFLAGS) -o $@ -Wl,--start-group $(libraries-y) $(LIBRARIES) -Wl,--end-group
        $(STRIPCMD) $@
 
 busybox.links: $(top_srcdir)/applets/busybox.mkll include/config.h $(top_srcdir)/include/applets.h