mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
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>
This commit is contained in:
parent
4549cad8b3
commit
5c51fed1ff
@ -43,4 +43,8 @@ else
|
|||||||
LVM2_CONF_OPTS += --disable-applib
|
LVM2_CONF_OPTS += --disable-applib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_arc),y)
|
||||||
|
LVM2_CONF_ENV += ac_cv_flag_HAVE_PIE=no
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user