diff options
author | lieven moors | 2015-10-12 20:20:59 +0200 |
---|---|---|
committer | lieven moors | 2015-10-12 20:20:59 +0200 |
commit | 5cf3fe0594c10b199168973fd0ea6a4f34369b99 (patch) | |
tree | 3e1234b3abf1464ebe1c77c412a685b36165de66 | |
parent | 11c45504994bfafe836445ab7d89b0f905e5e728 (diff) | |
download | aur-5cf3fe0594c10b199168973fd0ea6a4f34369b99.tar.gz |
Add -std=gnu++11 to CXXFLAGS to get past libsigc++ errors
From the release notes of libsigc++:
libsigc++ 2.0 until 2.4.x supported a sigc::group() adaptor and lambda
functions. This support is discontinued in later releases, because
lambdas are supported by standard C++11.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = non-daw-git pkgdesc = A modular Digital Audio Workstation system - Git version. - pkgver = 0.r1795.60059f4 + pkgver = 0.r1820.88fe7e7 pkgrel = 1 url = http://non.tuxfamily.org install = non.install @@ -5,7 +5,7 @@ pkgname=non-daw-git _gitname=non -pkgver=0.r1795.60059f4 +pkgver=0.r1820.88fe7e7 pkgrel=1 pkgdesc="A modular Digital Audio Workstation system - Git version." arch=('i686' 'x86_64') @@ -20,6 +20,8 @@ source=('git://git.tuxfamily.org/gitroot/non/non.git') md5sums=('SKIP') install=non.install +CXXFLAGS="$CXXFLAGS -std=gnu++11" + pkgver() { cd "${srcdir}/${_gitname}" printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" |