aboutsummaryrefslogtreecommitdiff
path: root/core/gcc/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-02-10 10:17:39 +0300
committerCem Keylan <cem@ckyln.com>2020-02-10 10:17:39 +0300
commitf8414ac2b5ef5120417d6f3f945f7059cdddabeb (patch)
treefa17bfd4b029111d23d7e5d67970d36fc31e8f0e /core/gcc/build
parenta7670f4dc14b6909d4ac2a06e312afc40926e33b (diff)
downloadrepository-f8414ac2b5ef5120417d6f3f945f7059cdddabeb.tar.gz
gcc: https://github.com/kisslinux/repo#96ad6fb
Diffstat (limited to 'core/gcc/build')
-rwxr-xr-xcore/gcc/build6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/gcc/build b/core/gcc/build
index ef0e87db..29c1226c 100755
--- a/core/gcc/build
+++ b/core/gcc/build
@@ -1,5 +1,8 @@
#!/bin/sh -e
+patch -p1 < invalid_tls_model.patch
+patch -p1 < static-pie.patch
+
# Make sure gmp is built with generic options.
cp -v gcc/gmp/configfsf.guess gcc/gmp/config.guess
cp -v gcc/gmp/configfsf.sub gcc/gmp/config.sub
@@ -35,7 +38,8 @@ export libat_cv_have_ifunc=no
--enable-threads \
--enable-tls \
--enable-languages=c,c++ \
- --build=x86_64-pc-linux-musl
+ --build=x86_64-pc-linux-musl \
+ --disable-bootstrap
make
make DESTDIR="$1" install