summaryrefslogtreecommitdiffstats
path: root/package/lvm2
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2015-07-01 15:35:51 +0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-02 11:00:45 +0200
commit5c51fed1ff2e7ab66900fa26732ea63dbf148462 (patch)
treea66c3aae2ccf01252182b80d59e7447272d31a2e /package/lvm2
parent4549cad8b35b846f8c14b590dd2b11e18f9e7ed4 (diff)
downloadbuildroot-5c51fed1ff2e7ab66900fa26732ea63dbf148462.tar.gz
buildroot-5c51fed1ff2e7ab66900fa26732ea63dbf148462.zip
lvm2: disable PIE on ARC
Even though ARC gcc understands "-pie" option and attempts to generate PIE binaries as of today PIE is not really supported for user-space applications. So we disable PIE detection if building for ARC. That first fixes http://autobuild.buildroot.net/results/988/9888a7a30538c9851f4910c16674d8dbb8edeb8f/ and also prevents execution of non-supported PIE binary in runtime. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lvm2')
-rw-r--r--package/lvm2/lvm2.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
index bae0d549a5..6a3aec3979 100644
--- a/package/lvm2/lvm2.mk
+++ b/package/lvm2/lvm2.mk
@@ -43,4 +43,8 @@ else
LVM2_CONF_OPTS += --disable-applib
endif
+ifeq ($(BR2_arc),y)
+LVM2_CONF_ENV += ac_cv_flag_HAVE_PIE=no
+endif
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud