diff options
author | Kevin Brodsky | 2016-09-12 00:34:18 +0100 |
---|---|---|
committer | Kevin Brodsky | 2016-09-12 00:34:28 +0100 |
commit | ad4300ec72b5f48ab0198477016b408d3b75c367 (patch) | |
tree | df7ab32fc27908c60496976c90276e03b5b4af73 | |
parent | a57f2f1d382228afc114c57ede36a9ae5d08feff (diff) | |
download | aur-ad4300ec72b5f48ab0198477016b408d3b75c367.tar.gz |
upgkpkg: 4.03.00-2
bobcat now uses C++14 (see INSTALL.im), while it still compiles in C++11
mode let's be use the appropriate option. INSTALL.im has also been
updated to add -pthread to the CXXFLAGS for the files that actually need
it, so we don't need to pass it ourselves anymore. (-pthread still has
to be added to LDFLAGS, because makepkg.conf defines LDFLAGS, which
overrides the defaults in INSTALL.im).
Also fix the -P comment.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 4 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sat Sep 10 23:55:10 UTC 2016 +# Sun Sep 11 23:34:23 UTC 2016 pkgbase = libbobcat pkgdesc = Bobcat (Brokken's Own Base Classes And Templates) library pkgver = 4.03.00 - pkgrel = 1 + pkgrel = 2 url = https://fbb-git.github.io/bobcat/ arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ # Contributor: Anton Jongsma <anton@felrood.nl> pkgname=libbobcat pkgver=4.03.00 -pkgrel=1 +pkgrel=2 pkgdesc="Bobcat (Brokken's Own Base Classes And Templates) library" arch=('i686' 'x86_64') url="https://fbb-git.github.io/bobcat/" @@ -17,10 +17,12 @@ md5sums=('c85f6793efbaf8dcd1079c4b5bf29a24') build() { cd "$srcdir/bobcat-${pkgver}/bobcat" - CXXFLAGS="$CXXFLAGS --std=c++11 -pthread" + + CXXFLAGS="$CXXFLAGS -std=c++14" LDFLAGS="$LDFLAGS -pthread" # Add the -P option not to use precompiled headers, which can be useful since # they require a lot of free space, compared to a normal compilation: + # ./build -P libraries all ./build libraries all ./build man } |