]> git.droids-corp.org - dpdk.git/blobdiff - mk/rte.lib.mk
ethdev: fix build with libc ip6 header
[dpdk.git] / mk / rte.lib.mk
index f458258b8fa5d2e486c43650ccce99a54533bb1c..d83e808971996a159489e6a782f06684e35644ee 100644 (file)
@@ -61,7 +61,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)
+LD := $(CC) $(CPU_CFLAGS)
 LD_MULDEFS := $(call linkerprefix,-z$(comma)muldefs)
 CPU_LDFLAGS := $(call linkerprefix,$(CPU_LDFLAGS))
 endif