aboutsummaryrefslogtreecommitdiffstats
path: root/musl/common.mk
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-03-06 21:18:10 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-03-06 21:18:10 +0000
commit04afc99ca51f0dea7ceec4ef8557d88530bc32aa (patch)
tree832f9341a136213389fa58384b669d3f364f5da4 /musl/common.mk
parentbd935cf9759eb8f4e4000cc5b9ff13470673efca (diff)
downloadToolchainFactory-04afc99ca51f0dea7ceec4ef8557d88530bc32aa.tar.gz
Add support for static pie, update to latest versions
Diffstat (limited to 'musl/common.mk')
-rw-r--r--musl/common.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/musl/common.mk b/musl/common.mk
index a6481a2..2806083 100644
--- a/musl/common.mk
+++ b/musl/common.mk
@@ -5,10 +5,12 @@ GCC_CONFIG += --disable-libquadmath --disable-decimal-float --disable-multilib
GCC_CONFIG += --disable-nls --with-cloog=no --with-ppl=no --disable-libstdcxx-pch
GCC_CONFIG += --disable-sjlj-exceptions --enable-gnu-unique-object --enable-linker-build-id
GCC_CONFIG += CFLAGS='-g0 -O2' CXXFLAGS='-g0 -O2'
+MUSL_CONFIG += CFLAGS=-fPIE
BINUTILS_CONFIG += --disable-gprofng
ISL_SITE = https://libisl.sourceforge.io/
GNU_SITE = https://ftp.gnu.org/pub/gnu
+# MUSL_REPO = https://git.musl-libc.org/cgit/musl
-DL_CMD = curl --no-progress-meter -o
+DL_CMD = curl --no-progress-meter -L -o
# MAKE += LIMITS_H_TEST=true