summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Neuhaus2016-05-18 12:07:30 +0200
committerFrank Neuhaus2016-05-18 12:07:30 +0200
commit86ce07fc6340d5ce5e350dc6cdb12e8598c74215 (patch)
tree08bc41c645e7c762a9c59bf4a63f75f0acb76342
parenta318c4a1d9d4d5d31f2c775ba56a7982478fde74 (diff)
downloadaur-86ce07fc6340d5ce5e350dc6cdb12e8598c74215.tar.gz
made small adjustments for gcc 6
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d9943d092d0..2baad466699 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ceres-solver
pkgver=1.11.0
-pkgrel=1
+pkgrel=2
pkgdesc="Solver for nonlinear least squares problems"
arch=('i686' 'x86_64')
url="http://ceres-solver.org/"
@@ -22,6 +22,10 @@ _cmakeopts=('-D CMAKE_BUILD_TYPE=Release'
build() {
cd $srcdir/$pkgname-$pkgver
+
+ # Temporary fix for GCC 6.0
+ sed -i "s/-Werror=extra/-Werror=extra -Wno-error=nonnull-compare -Wno-error=address/g" "CMakeLists.txt"
+
mkdir -p ./build
cd ./build
cmake ${_cmakeopts[@]} ../