numam-dpdk/mk
Thomas Monjalon 3c6a14f6b9 mk: fix link with CC
It appeared in commit 21cdc2e77a ("fix 32-bit link with gcc")
that linker options must be prefixed by -Wl, when using CC.
So CPU_LDFLAGS is prefixed in rte.lib.mk.
Then commit 815cfb7925 ("fix link of combined shared library using CC")
introduced another prefixing of CPU_LDFLAGS in rte.sharelib.mk,
included in lib/Makefile.
Because CPU_LDFLAGS is an exported variable, the prefixing is done twice.
Initial patch of commit 815cfb7925 had a workaround but it hasn't
been applied in favor of this proper fix.

Now variables are not overriden when prefixing.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-12-17 22:54:20 +01:00
..
arch add prefix to cache line macros 2014-11-27 16:21:11 +01:00
exec-env mk: fix linking with some linux toolchains 2014-11-29 21:17:01 +01:00
internal remove trailing whitespaces 2014-06-11 00:29:34 +02:00
machine mk: introduce IBM Power architecture 2014-11-26 21:50:09 +01:00
target/generic mk: no more bare metal environment 2014-11-27 13:09:46 +01:00
toolchain mk: no more bare metal environment 2014-11-27 13:09:46 +01:00
rte.app.mk mk: fix link with CC 2014-12-17 22:54:20 +01:00
rte.bsdmodule.mk mk: fix bsd module build 2014-11-05 22:18:31 +01:00
rte.cpuflags.mk eal/ppc: cpu flag checks for IBM Power 2014-11-26 21:50:10 +01:00
rte.extapp.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.extlib.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.extobj.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.extshared.mk mk: allow to build shared libraries 2014-02-26 11:01:13 +01:00
rte.extsubdir.mk mk: introduce rte.extsubdir.mk for projects with subdirectories 2014-05-16 13:28:21 +02:00
rte.extvars.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.gnuconfigure.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.hostapp.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.hostlib.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.install.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.lib.mk mk: fix link with CC 2014-12-17 22:54:20 +01:00
rte.module.mk mk: pass CC option for kernel modules 2014-10-15 16:01:29 +02:00
rte.obj.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkbuild.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkconfig.mk version: 1.7.0 2014-07-04 10:18:07 +02:00
rte.sdkdepdirs.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkdoc.mk mk: fix doc cleaning 2014-10-17 17:44:06 +02:00
rte.sdkexamples.mk mk: add "make examples" target in root makefile 2014-05-16 16:02:55 +02:00
rte.sdkgcov.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkinstall.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkroot.mk mk: no more bare metal environment 2014-11-27 13:09:46 +01:00
rte.sdktest.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdktestall.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.shared.mk mk: fix link with CC 2014-12-17 22:54:20 +01:00
rte.sharelib.mk mk: fix link with CC 2014-12-17 22:54:20 +01:00
rte.subdir.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.vars.mk mk: fix link examples to combined library 2014-12-17 19:42:18 +01:00