]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/GCC ARM/AARCH64: Force disable PIE
authordann frazier <dannf@debian.org>
Wed, 31 May 2017 16:57:54 +0000 (10:57 -0600)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 1 Jun 2017 08:30:23 +0000 (08:30 +0000)
commita6b5380642c4d9f55175dd5f423bae9ecc1be9d8
tree6204846b27d1c60c17b201eceabce8b7ef208793
parent8bef878beada6400aaed2f3c2bf73d6c90cde931
BaseTools/GCC ARM/AARCH64: Force disable PIE

After Debian's toolchain switched to PIE by default, our edk2 builds began
to fail to build (GCC49 w/ gcc 6.3). This patch fixes the build by forcing
off PIE for both ARM and AARCH64 builds.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: dann frazier <dannf@debian.org>
Add -fno-pic as well for ARM.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Conf/tools_def.template