diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2017-01-27 11:11:21 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-02-13 18:43:24 +0100 |
commit | 960acf856f49e65ed31e096aa5fb4aeed237172e (patch) | |
tree | 1f560d584fff372b91b38b6313282cc20f9a67d7 /meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb | |
parent | ebef44963866d3231ccfe79d66d21c96ca0b4113 (diff) | |
download | meta-openembedded-960acf856f49e65ed31e096aa5fb4aeed237172e.tar.gz |
multipath-tools: fix building of shared objects
When -pie is in CFLAGS, it overrides the -shared compiler
flag, leading to link errors (undefined main) for shared
objects. Parameters must be ordered so that -shared comes
last.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb')
-rw-r--r-- | meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb b/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb index 6bd611895..2ab4dad23 100644 --- a/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb +++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb | |||
@@ -11,6 +11,7 @@ SRC_URI = "git://git.opensvc.com/multipath-tools/.git;protocol=http \ | |||
11 | file://always-use-libdevmapper-kpartx.patch \ | 11 | file://always-use-libdevmapper-kpartx.patch \ |
12 | file://do-not-link-libmpathpersist-to-TMPDIR.patch \ | 12 | file://do-not-link-libmpathpersist-to-TMPDIR.patch \ |
13 | file://0001-multipathd.service-Error-fix.patch \ | 13 | file://0001-multipathd.service-Error-fix.patch \ |
14 | file://shared-libs-avoid-linking-.so-as-executable.patch \ | ||
14 | " | 15 | " |
15 | # 0.5.0 | 16 | # 0.5.0 |
16 | # | 17 | # |