lvm2: disable PIE on ARC
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Wed, 1 Jul 2015 12:35:51 +0000 (15:35 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 2 Jul 2015 09:00:45 +0000 (11:00 +0200)
commit5c51fed1ff2e7ab66900fa26732ea63dbf148462
treea66c3aae2ccf01252182b80d59e7447272d31a2e
parent4549cad8b35b846f8c14b590dd2b11e18f9e7ed4
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>
package/lvm2/lvm2.mk