aboutsummaryrefslogtreecommitdiffstats
path: root/musl/common.mk
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-09-07 14:55:46 +0000
committerLaurent Bercot <ska@appnovation.com>2024-09-07 14:55:46 +0000
commit1559cbe1ebcea1dac3f5c3a40a51efedd7766ffc (patch)
tree8a8d1e0c31e3328c9897c3727a555c693ef8a2fc /musl/common.mk
downloadToolchainFactory-1559cbe1ebcea1dac3f5c3a40a51efedd7766ffc.tar.gz
Initial commit
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'musl/common.mk')
-rw-r--r--musl/common.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/musl/common.mk b/musl/common.mk
new file mode 100644
index 0000000..a6481a2
--- /dev/null
+++ b/musl/common.mk
@@ -0,0 +1,14 @@
+# CONFIG_SUB_REV = 1912ca50411bb77fb2c610ef55dd91e332663de9
+COMMON_CONFIG += --disable-nls --disable-assembly
+GCC_CONFIG += --enable-languages=c,c++ --enable-c99 --enable-clocale=gnu --enable-threads=posix
+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'
+BINUTILS_CONFIG += --disable-gprofng
+
+ISL_SITE = https://libisl.sourceforge.io/
+GNU_SITE = https://ftp.gnu.org/pub/gnu
+
+DL_CMD = curl --no-progress-meter -o
+# MAKE += LIMITS_H_TEST=true