Skip to content
Commit f7ec31db authored by david cunado's avatar david cunado Committed by David Cunado
Browse files

Disable PIE compilation option



ARM TF does not work correctly if built with a version of gcc
that is configured to use PIE by default (e.g. Debian Stretch).

This patch identifies when such a version of gcc is being used
(by searching for --enable-default-pie) and adds -fno-PIE option
to TF_CFLAGS.

fixes arm-software/tf-issues#519

Change-Id: I2322122c49841746d35d152694e14f6f73beb0fd
Signed-off-by: default avatarDavid Cunado <david.cunado@arm.com>
Co-Authored-by: default avatarEvan Lloyd <evan.lloyd@arm.com>
Tested-by: Steve Capper's avatarSteve Capper <steve.capper@arm.com>
Tested-by: Alexei Fedorov's avatarAlexei Fedorov <alexei.fedorov@arm.com>
parent 842c00eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment