From 041e284a4690ce0dbf53c895fc80618e43f5287b Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Sat, 22 Feb 2025 23:56:01 -0600 Subject: bootstrap: disable default pie globally. fixes #9. --- bootstrap | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bootstrap b/bootstrap index dcaa39e..0171ad9 100755 --- a/bootstrap +++ b/bootstrap @@ -5,7 +5,7 @@ # Purpose : Bootstraps Adélie from source for any architecture. # Authors : Zach van Rijn # License : MIT -# Revision : 20241215 +# Revision : 20250222 #=============================================================== #=============================================================== @@ -453,6 +453,9 @@ if ! test -d "${MTOOLS}"/sys/emus/bin; then # FIXME: no hard code # must be supported by musl-cross-make CONFIG_SUB_REV = 00b159274960 +# override musl-cross-make as necessary +GCC_CONFIG += --disable-default-pie + # supported targets ifneq ($(findstring aarch64-,$(TARGET)),) GCC_CONFIG += --with-arch=armv8-a --with-abi=lp64 --enable-fix-cortex-a53-835769 --enable-fix-cortex-a53-843419 @@ -484,7 +487,7 @@ GCC_CONFIG += --with-arch=loongarch64 endif ifneq ($(findstring m68k-,$(TARGET)),) -GCC_CONFIG += --with-arch=m68k --with-cpu=m68020 --disable-default-pie +GCC_CONFIG += --with-arch=m68k --with-cpu=m68020 endif ifneq ($(findstring mips64-,$(TARGET)),) -- cgit v1.2.3-70-g09d2