summaryrefslogtreecommitdiff
path: root/build/pmake
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-08 18:03:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-08 18:03:46 +0300
commitbaca54daa08332ac447793e5a4eb50abe467cc9a (patch)
treefc6cef6580e69848d11c32b502da72e3f9b070bb /build/pmake
parent81e2fb5eeeae47d04ff9b7e9a0ecacb6b9ca64e5 (diff)
downloadmanaplus-baca54daa08332ac447793e5a4eb50abe467cc9a.tar.gz
manaplus-baca54daa08332ac447793e5a4eb50abe467cc9a.tar.bz2
manaplus-baca54daa08332ac447793e5a4eb50abe467cc9a.tar.xz
manaplus-baca54daa08332ac447793e5a4eb50abe467cc9a.zip
Add ccache into pmake script
Diffstat (limited to 'build/pmake')
-rwxr-xr-xbuild/pmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/build/pmake b/build/pmake
index f853353e1..e016e0390 100755
--- a/build/pmake
+++ b/build/pmake
@@ -5,12 +5,13 @@ cd ..
dir=`pwd`
-export CC=gcc
-export CXX=g++
+export CCACHE_DIR="${dir}/build/ccache/pmake"
+export CC="ccache gcc"
+export CXX="ccache g++"
export LANG=C
-export CXXFLAGS="-g -pg -fno-inline -fno-omit-frame-pointer -Wno-attributes"
+export CXXFLAGS="-g -pg -fno-inline -fno-omit-frame-pointer"
autoreconf -i
cd build/tmp