diff options
author | spider-mario | 2016-06-15 22:16:07 +0200 |
---|---|---|
committer | spider-mario | 2016-06-15 22:16:07 +0200 |
commit | 06d6ae80cc0135381dcc5c9a63c33b608387aac6 (patch) | |
tree | 3ee43dc36bee1bb24f1cba029c34081a5f6eabf1 /PKGBUILD | |
parent | b2e06e0290cafea395353e070e7c8d4933278fbf (diff) | |
download | aur-06d6ae80cc0135381dcc5c9a63c33b608387aac6.tar.gz |
Build with -std=c++11 explicitly
This fixes build issues due to the use of modern math functions.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -22,6 +22,7 @@ build() { -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib -D_libdir_set=false \ -DCMAKE_BUILD_TYPE=Release \ + -DEXTRA_KERNEL_CXX_FLAGS='-std=c++11' \ "$srcdir/$pkgname-$pkgver" make } |