trousers: disable pie option on ARC
authorLada Trimasova <Lada.Trimasova@synopsys.com>
Mon, 18 Jan 2016 14:44:13 +0000 (17:44 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 24 Feb 2016 10:45:09 +0000 (11:45 +0100)
commit0bec37b6454673b2f1d0cf7c408a6cacd0185bf8
treee0afd468e4a2d2088796c357924da459c81a2a78
parenteb56faf259338321e1c93271654201b0c812222a
trousers: disable pie option on ARC

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 provide option which checks if compiler understands relro
and pie options and disable PIE detection if building for ARC.
Also AUTORECONF option should be added because of modified
configure.in and Makefile.am files.

Signed-off-by: Lada Trimasova <ltrimas@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Lada Trimasova <ltrimas@synopsys.com<mailto:ltrimas@synopsys.com>>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/trousers/0002-Check-if-the-compiler-understands-pie-and-relro-options.patch [new file with mode: 0644]
package/trousers/trousers.mk