blob: 9f091ac9e51480a33f0899155baeafa9e225196a (
plain) (
tree)
|
|
#!/bin/bash
mkdir tmp
cd ..
dir=`pwd`
export CCACHE_DIR="${dir}/build/ccache/bmakespeed"
export CC="ccache gcc"
export CXX="ccache g++"
export LANG=C
export CXXFLAGS="-pedantic -ggdb3 -O5 -pipe -ffast-math \
-funswitch-loops \
-D_FORTIFY_SOURCE=2 \
-funsafe-loop-optimizations -flto -fwhole-program \
-march=native -fsched-pressure \
-std=gnu++2a \
-fno-var-tracking -Wno-attributes"
source ./tools/ci/flags/gcc8.sh
autoreconf -i
cd build/tmp
../../configure --prefix=$dir/run \
--datadir=$dir/run/share/games \
--bindir=$dir/run/bin \
--mandir=$dir/run/share/man
cd po
make -j16 update-gmo 2>../../make1.log
cd ..
make -j16 2>../make2.log
|