numam-spdk/mk
Seth Howell e29c6fe133 mk: force --no-as-needed for spdk libs.
When building shared libs, we specifically don't set the --as-needed
flag so that we still link against libraries that have constructor
functions. LD reports on its man page that the default behavior is
equivalent to --no-as-needed.

For RHEL based distros like fedora and centos this works fine. While
the LD man page shipped with ubuntu distributions also states that
--no-as-needed is the default, they don't respect that behavior and do
--as-needed linking unless you force them with --no-as-needed.

Change-Id: I914ab849323de198af5c5e53fffb1f57fcaff5fe
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/464621
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-08-12 21:12:16 +00:00
..
nvme.libtest.mk examples/nvme/perf: Optional VMD enumeration 2019-06-18 03:59:36 +00:00
spdk.app_cxx.mk Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
spdk.app_vars.mk mk: force --no-as-needed for spdk libs. 2019-08-12 21:12:16 +00:00
spdk.app.mk Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
spdk.common.mk build: Detect compiler toolchain in configure 2019-07-26 16:22:27 +00:00
spdk.deps.mk build: add copyright header where missing 2016-11-22 16:41:47 -07:00
spdk.lib.mk Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
spdk.mock.unittest.mk thread: Eliminate use of pthread_self and thread_ids 2019-01-15 16:53:12 +00:00
spdk.modules.mk mk: clean up BLOCKDEV_MODULES_LIST in spdk.modules.mk 2019-08-08 22:41:30 +00:00
spdk.subdirs.mk Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
spdk.unittest.mk Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00