From 67451849def5ec162e230411c542b9d0e2608371 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 27 Sep 2005 04:06:39 +0000 Subject: [PATCH] pass EXTRA_CFLAGS to final link since it may contain things that affect linking (such as -m32) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1