From: Mike Frysinger Date: Tue, 27 Sep 2005 04:06:39 +0000 (-0000) Subject: pass EXTRA_CFLAGS to final link since it may contain things that affect linking ... X-Git-Tag: 1_1_0~631 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=67451849def5ec162e230411c542b9d0e2608371;p=oweals%2Fbusybox.git pass EXTRA_CFLAGS to final link since it may contain things that affect linking (such as -m32) --- diff --git a/Makefile b/Makefile index a88062e54..f71c53694 100644 --- 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