webkit2gtk: fix gcc7 build

This commit is contained in:
Jürgen Buchmüller 2017-09-07 12:41:12 +02:00
parent 8a6cc608e5
commit 97e460ff9a

View file

@ -15,6 +15,8 @@ checksum=fc23650df953123c59b9c0edf3855e7bd55bd107820997fc72375811e1ea4b21
# ETOOHUGE
nodebug=1
CXXFLAGS="-D_GLIBCXX_USE_C99_STDIO=1 -D_GLIBCXX_USE_C99_STDLIB=1 -Wno-expansion-to-defined"
hostmakedepends="perl python pkg-config intltool gperf flex ruby glib-devel geoclue2"
makedepends="
at-spi2-core-devel libjpeg-turbo-devel libpng-devel sqlite-devel
@ -24,7 +26,7 @@ makedepends="
geoclue2-devel libnotify-devel hyphen-devel"
case "$XBPS_TARGET_MACHINE" in
armv6*) configure_args+=" -DENABLE_JIT=0" CXXFLAGS="-D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1";;
armv6*) configure_args+=" -DENABLE_JIT=0" CXXFLAGS+=" -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1";;
aarch64*) configure_args+=" -DUSE_LD_GOLD=0";;
esac