summaryrefslogtreecommitdiff
path: root/4-build-gcc-stage-1.sh
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2022-06-29 18:12:13 +0300
committerOxore <oxore@protonmail.com>2022-06-29 18:12:13 +0300
commitf53cca086dece774d099a5ef9186e5b77c726429 (patch)
treefd7b175e47df9c8f100d61b19e46a24ecc3df359 /4-build-gcc-stage-1.sh
parente417dba115249dd8b1aec136659f7d52f73e03ed (diff)
Optimize gcc's libstdc++
Diffstat (limited to '4-build-gcc-stage-1.sh')
-rw-r--r--4-build-gcc-stage-1.sh25
1 files changed, 17 insertions, 8 deletions
diff --git a/4-build-gcc-stage-1.sh b/4-build-gcc-stage-1.sh
index db5298e..3774ee2 100644
--- a/4-build-gcc-stage-1.sh
+++ b/4-build-gcc-stage-1.sh
@@ -21,20 +21,29 @@ if [ -n "$options_do_configure" ]; then
../../unpacked/gcc-$gcc_ver/configure \
--prefix=$prefix_dir \
--target=$target \
- --with-newlib \
- --with-gnu-as \
- --with-gnu-ld \
+ --enable-plugins \
--enable-lto \
--enable-linker-build-id \
- --disable-libmudflap \
- --disable-libgomp \
- --disable-libssp \
- --disable-libstdcxx-pch \
--enable-multiarch \
--enable-soft-float \
--enable-languages=c,c++ \
- --with-headers=../../unpacked/newlib-$newlib_ver/newlib/libc/include \
+ --disable-libstdcxx-verbose \
+ --disable-decimal-float \
+ --disable-libffi \
+ --disable-libgomp \
+ --disable-libmudflap \
+ --disable-libquadmath \
+ --disable-libssp \
+ --disable-libstdcxx-pch \
+ --disable-nls \
--disable-shared \
+ --disable-threads \
+ --disable-tls \
+ --with-gnu-as \
+ --with-gnu-ld \
+ --with-newlib \
+ --with-headers=yes \
+ --with-headers=../../unpacked/newlib-$newlib_ver/newlib/libc/include \
>configure-stage-1.log 2>&1
ret=$?
if [ $ret -ne 0 ]; then less configure-stage-1.log; exit 1; fi