]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
tinc: disable PIE on ARC
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Mon, 10 Aug 2015 13:36:36 +0000 (16:36 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 10 Aug 2015 13:42:25 +0000 (15:42 +0200)
commit38ea889ed07b29bd68b17b2629869588b27536e8
tree95b41fec8521084a52bedf9a551551471323de07
parent9c635f86d84bfc915a6dd8928f15082f302a9986
tinc: 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/2b1/2b1aa474fc432f3f79b03c4577d68642bb7e0f9c
and also prevents execution of non-supported PIE binary in runtime.

[Thomas: fix indentation.]

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/tinc/tinc.mk