webkit2gtk: fix gcc7 build
This commit is contained in:
parent
8a6cc608e5
commit
97e460ff9a
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue