GCC 4.7.4: fix compile error when built with GCC 6.3.0
[rofl0r-mmix-cross.git] / config-static.sh
blob030fd84bbb4a26610ff8504b50f9b9953ec586e2
1 # ARCH will be auto-detected as the host if not specified
2 #ARCH=i486
3 CC_BASE_PREFIX=/opt/cross
4 MAKEFLAGS=-j8
6 GCC_BOOTSTRAP_CONFFLAGS=--disable-lto-plugin
7 GCC_CONFFLAGS=--disable-lto-plugin
8 MUSL_CC_PREFIX="musl-"
9 # Disable these three lines when running build-gcc-deps.sh
10 CC="'"${MUSL_CC_PREFIX}gcc"' -Wl,-Bstatic -static-libgcc"
11 CXX="'"${MUSL_CC_PREFIX}g++"' -Wl,-Bstatic -static-libgcc"
12 export CC CXX