summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndrew Anderson2018-10-17 00:50:57 +0100
committerAndrew Anderson2018-10-17 00:50:57 +0100
commitd26362b2fcd720753dfd956196cd0671c77713ee (patch)
tree899416b9bae046081ca3994332de23d750b169e9 /PKGBUILD
parent2e55c8ad0bfa16751808e8114eedffda4e3ec900 (diff)
downloadaur-d26362b2fcd720753dfd956196cd0671c77713ee.tar.gz
Fix default CXXFLAGS
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e6c7a600e032..f86a9bdd9ce5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=caffe-opencl-slim-git
_srcname=caffe
pkgver=1.0
-pkgrel=19
+pkgrel=20
pkgdesc="A slimmed-down build of Caffe based on caffe-opencl-git"
arch=('x86_64')
url="http://caffe.berkeleyvision.org/"
@@ -34,7 +34,8 @@ prepare() {
mkdir -p build
cd build
- CXXFLAGS="-Os" CMAKE_PARALLEL_LEVEL=`grep processor /proc/cpuinfo | wc -l` cmake \
+ CMAKE_PARALLEL_LEVEL=`grep processor /proc/cpuinfo | wc -l` cmake \
+ -DCMAKE_CXX_FLAGS="-Os" \
-DCPU_ONLY=OFF \
-DUSE_INDEX_64=OFF \
-DUSE_HALF=OFF \