libsodium: disable PIE on ARC
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Mon, 10 Aug 2015 11:24:50 +0000 (14:24 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 10 Aug 2015 13:04:47 +0000 (15:04 +0200)
commit855bb15aa1d646e70b5bdb200017021d39ea5334
treee3a827d191d217450cf075bc2c70dd91da53e388
parent4a5f878946c37deb8c1785fb8363cd1d322f7436
libsodium: 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 fixes http://autobuild.buildroot.net/results/be4/be46b621ce5443788b0a1bc9fab614c4ca5d0859
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/libsodium/libsodium.mk