2017-04-06 14:50:43 +00:00
|
|
|
diff --git a/config.sh b/config.sh
|
2019-10-29 11:52:27 +00:00
|
|
|
index ec3c1ce..844fb3d 100644
|
2017-04-06 14:50:43 +00:00
|
|
|
--- a/config.sh
|
|
|
|
+++ b/config.sh
|
2017-01-27 22:55:44 +00:00
|
|
|
@@ -1,13 +1,15 @@
|
|
|
|
# ARCH will be auto-detected as the host if not specified
|
|
|
|
#ARCH=i486
|
|
|
|
-#ARCH=x86_64
|
|
|
|
+ARCH=x86_64
|
|
|
|
#ARCH=powerpc
|
|
|
|
#ARCH=arm
|
|
|
|
#ARCH=microblaze
|
|
|
|
#ARCH=mips
|
|
|
|
#ARCH=mipsel
|
|
|
|
|
|
|
|
-CC_BASE_PREFIX=/opt/cross
|
|
|
|
+if [ -z "$CC_BASE_PREFIX" ]; then
|
|
|
|
+ CC_BASE_PREFIX=$HOME/heads/install
|
|
|
|
+fi
|
|
|
|
|
|
|
|
# If you use arm, you may need more fine-tuning:
|
|
|
|
# arm hardfloat v7
|
2019-10-29 11:52:27 +00:00
|
|
|
@@ -20,11 +22,14 @@ CC_BASE_PREFIX=/opt/cross
|
2017-04-06 14:50:43 +00:00
|
|
|
#GCC_BOOTSTRAP_CONFFLAGS="--with-arch=armv7-a --with-float=softfp"
|
|
|
|
#GCC_CONFFLAGS="--with-arch=armv7-a --with-float=softfp"
|
|
|
|
|
|
|
|
-MAKEFLAGS=-j8
|
2017-04-06 15:01:48 +00:00
|
|
|
+MAKEFLAGS=-j`nproc`
|
2017-01-27 22:55:44 +00:00
|
|
|
|
|
|
|
# Enable this to build the bootstrap gcc (thrown away) without optimization, to reduce build time
|
|
|
|
GCC_STAGE1_NOOPT=1
|
2019-10-29 11:52:27 +00:00
|
|
|
|
2017-01-27 22:55:44 +00:00
|
|
|
+# Build GMP, MPFR and MPC
|
|
|
|
+GCC_BUILTIN_PREREQS=yes
|
2019-10-29 11:52:27 +00:00
|
|
|
+
|
|
|
|
# uncomment these to get smaller/stripped binaries
|
|
|
|
#export CFLAGS="-Os -g0 -s"
|
|
|
|
#export CXXFLAGS="-Os -g0"
|