diff options
Diffstat (limited to 'development/android-tools/android-tools.SlackBuild')
-rw-r--r-- | development/android-tools/android-tools.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/development/android-tools/android-tools.SlackBuild b/development/android-tools/android-tools.SlackBuild index 2c057fefbc..c858d18140 100644 --- a/development/android-tools/android-tools.SlackBuild +++ b/development/android-tools/android-tools.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=android-tools VERSION=${VERSION:-31.0.3p1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,13 +81,16 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +export GOCACHE=$(pwd)/build/go-cache +export GO111MODULE=off + mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -GNinja \ + -GNinja -Wno-dev \ -DCMAKE_BUILD_TYPE=Release .. "${NINJA:=ninja}" DESTDIR=$PKG $NINJA install |