diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-27 00:08:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-27 00:08:24 +0300 |
commit | 8c52c1aac1f116b11e7599c12c3db4edcbc0ddeb (patch) | |
tree | e0035350d8ea3f555dfb471068f7d64e658c876a | |
parent | b9248394f45944640997a4dc761e3ffc03788f89 (diff) | |
download | manaplus-8c52c1aac1f116b11e7599c12c3db4edcbc0ddeb.tar.gz manaplus-8c52c1aac1f116b11e7599c12c3db4edcbc0ddeb.tar.bz2 manaplus-8c52c1aac1f116b11e7599c12c3db4edcbc0ddeb.tar.xz manaplus-8c52c1aac1f116b11e7599c12c3db4edcbc0ddeb.zip |
Add ccache into most build scripts.
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | build/bmake | 5 | ||||
-rwxr-xr-x | build/bmakedebug | 6 | ||||
-rwxr-xr-x | build/bmakedebugsdl2 | 6 | ||||
-rwxr-xr-x | build/bmakespeed | 6 |
5 files changed, 13 insertions, 11 deletions
diff --git a/.gitignore b/.gitignore index 1ab9422b2..a45654eca 100644 --- a/.gitignore +++ b/.gitignore @@ -115,6 +115,7 @@ build/clmake build/bmakesnapshot build/checkplugin.so build/tmp +build/ccache # debian debian/* diff --git a/build/bmake b/build/bmake index 292c8c7bf..83ab1c35a 100755 --- a/build/bmake +++ b/build/bmake @@ -5,8 +5,9 @@ cd .. dir=`pwd` -export CC=gcc -export CXX=g++ +export CCACHE_DIR="${dir}/build/ccache/bmake" +export CC="ccache gcc" +export CXX="ccache g++" export LANG=C diff --git a/build/bmakedebug b/build/bmakedebug index 003a6293f..0ee9af5b2 100755 --- a/build/bmakedebug +++ b/build/bmakedebug @@ -5,9 +5,9 @@ mkdir tmp cd .. dir=`pwd` -export CC=gcc -export CXX=g++ - +export CCACHE_DIR="${dir}/build/ccache/bmakedebug" +export CC="ccache gcc" +export CXX="ccache g++" export LANG=C export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \ diff --git a/build/bmakedebugsdl2 b/build/bmakedebugsdl2 index d3bd476be..5c278c6ab 100755 --- a/build/bmakedebugsdl2 +++ b/build/bmakedebugsdl2 @@ -5,9 +5,9 @@ mkdir tmp cd .. dir=`pwd` -export CC=gcc -export CXX=g++ - +export CCACHE_DIR="${dir}/build/ccache/bmakedebugsdl2" +export CC="ccache gcc" +export CXX="ccache g++" export LANG=C export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \ diff --git a/build/bmakespeed b/build/bmakespeed index f6b15027a..ba9924a86 100755 --- a/build/bmakespeed +++ b/build/bmakespeed @@ -5,9 +5,9 @@ cd .. dir=`pwd` -export CC=gcc -export CXX=g++ - +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 \ |