summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-27 00:08:24 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-27 00:08:24 +0300
commit8c52c1aac1f116b11e7599c12c3db4edcbc0ddeb (patch)
treee0035350d8ea3f555dfb471068f7d64e658c876a /build
parentb9248394f45944640997a4dc761e3ffc03788f89 (diff)
downloadmanaverse-8c52c1aac1f116b11e7599c12c3db4edcbc0ddeb.tar.gz
manaverse-8c52c1aac1f116b11e7599c12c3db4edcbc0ddeb.tar.bz2
manaverse-8c52c1aac1f116b11e7599c12c3db4edcbc0ddeb.tar.xz
manaverse-8c52c1aac1f116b11e7599c12c3db4edcbc0ddeb.zip
Add ccache into most build scripts.
Diffstat (limited to 'build')
-rwxr-xr-xbuild/bmake5
-rwxr-xr-xbuild/bmakedebug6
-rwxr-xr-xbuild/bmakedebugsdl26
-rwxr-xr-xbuild/bmakespeed6
4 files changed, 12 insertions, 11 deletions
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 \