summaryrefslogtreecommitdiff
path: root/scripts/Makefile.IMA
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile.IMA')
-rw-r--r--scripts/Makefile.IMA2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.IMA b/scripts/Makefile.IMA
index d246517..73360f3 100644
--- a/scripts/Makefile.IMA
+++ b/scripts/Makefile.IMA
@@ -145,8 +145,10 @@ include libbb/Kbuild
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 \