summaryrefslogtreecommitdiffstats
path: root/mk/rte.lib.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/rte.lib.mk')
-rw-r--r--mk/rte.lib.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/rte.lib.mk b/mk/rte.lib.mk
index bc2f2fbe..13115d14 100644
--- a/mk/rte.lib.mk
+++ b/mk/rte.lib.mk
@@ -77,7 +77,7 @@ exe2cmd = $(strip $(call dotfile,$(patsubst %,%.cmd,$(1))))
ifeq ($(LINK_USING_CC),1)
# Override the definition of LD here, since we're linking with CC
-LD := $(CC) $(CPU_CFLAGS)
+LD := $(CC) $(CPU_CFLAGS) $(EXTRA_CFLAGS)
_CPU_LDFLAGS := $(call linkerprefix,$(CPU_LDFLAGS))
override EXTRA_LDFLAGS := $(call linkerprefix,$(EXTRA_LDFLAGS))
else