Setup -fno-pic or -fpic in Architecture Rules.
commitbd0604764ee1b12fde65c90eeb8621e68d0dd251
authorFredrik Holmqvist <fredrik.holmqvist@gmail.com>
Wed, 6 Nov 2013 20:12:36 +0000 (6 21:12 +0100)
committerJessica Hamilton <jessica.l.hamilton@gmail.com>
Fri, 2 Sep 2016 07:02:32 +0000 (2 19:02 +1200)
treec608529f37379d902ffda46bdf17a4f1f2925750
parent211483cb512baaca8b17e0112a360b5a17cde0ca
Setup -fno-pic or -fpic in Architecture Rules.

EFI boot needs -fpic but all boot code was built with -fno-pic.
This is now set accordingly in HAIKU_BOOT_CCFLAGS and
HAIKU_BOOT_C++FLAGS.

Also setup compile flags for EFI platform.
21 files changed:
build/jam/ArchitectureRules
src/system/boot/Jamfile
src/system/boot/arch/arm/Jamfile
src/system/boot/arch/m68k/Jamfile
src/system/boot/loader/Jamfile
src/system/boot/loader/file_systems/amiga_ffs/Jamfile
src/system/boot/loader/file_systems/bfs/Jamfile
src/system/boot/loader/file_systems/fat/Jamfile
src/system/boot/loader/file_systems/hfs_plus/Jamfile
src/system/boot/loader/file_systems/packagefs/Jamfile
src/system/boot/loader/file_systems/tarfs/Jamfile
src/system/boot/loader/net/Jamfile
src/system/boot/platform/amiga_m68k/Jamfile
src/system/boot/platform/atari_m68k/Jamfile
src/system/boot/platform/bios_ia32/Jamfile
src/system/boot/platform/generic/Jamfile
src/system/boot/platform/pxe_ia32/Jamfile
src/system/boot/platform/raspberrypi_arm/Jamfile
src/system/boot/platform/u-boot/Jamfile
src/system/boot/platform/u-boot/arch/arm/Jamfile
src/system/boot/platform/u-boot/arch/ppc/Jamfile