boost: fix gcc7 build
The additional define does not hurt gcc-6.3.0 and is required for 7.x. Updating to -std=c++14 is inspired by Arch Linux. No revbump yet.
This commit is contained in:
parent
6b38de012d
commit
760c99fca9
|
@ -12,7 +12,7 @@ license="Boost Software License 1.0"
|
|||
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}_${version//\./_}.tar.bz2"
|
||||
checksum=9807a5d16566c57fd74fb522764e0b134a8bbe6b6e8967b83afefd30dcd3be81
|
||||
|
||||
CXXFLAGS="-std=c++11"
|
||||
CXXFLAGS="-std=c++14 -D_GLIBCXX_USE_C99_STDLIB=1"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*) _arch=x86; _toolset="gcc-i386"; _abi=sysv ;;
|
||||
|
|
Loading…
Reference in New Issue