summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Frysinger2005-09-27 04:06:39 +0000
committerMike Frysinger2005-09-27 04:06:39 +0000
commit67451849def5ec162e230411c542b9d0e2608371 (patch)
tree4a2709071d021a6ffdaa10b4342da5ceae7da0af /Makefile
parentde2b93859c702032ae801cb01a816aa42c1ab0ab (diff)
downloadbusybox-67451849def5ec162e230411c542b9d0e2608371.zip
busybox-67451849def5ec162e230411c542b9d0e2608371.tar.gz
pass EXTRA_CFLAGS to final link since it may contain things that affect linking (such as -m32)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a88062e..f71c536 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