mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
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>
This commit is contained in:
committed by
Martin Jansa
parent
ebef449638
commit
960acf856f
@@ -11,6 +11,7 @@ SRC_URI = "git://git.opensvc.com/multipath-tools/.git;protocol=http \
|
||||
file://always-use-libdevmapper-kpartx.patch \
|
||||
file://do-not-link-libmpathpersist-to-TMPDIR.patch \
|
||||
file://0001-multipathd.service-Error-fix.patch \
|
||||
file://shared-libs-avoid-linking-.so-as-executable.patch \
|
||||
"
|
||||
# 0.5.0
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user