Skip to content
Snippets Groups Projects
Commit abb0170b authored by Natanael Copa's avatar Natanael Copa
Browse files

community/webkit2gtk: enable on x86

Enable x86 and work around out of meomory error by disable
_FORTIFY_SOURCE.
parent 9e016dcf
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ pkgver=2.24.3
pkgrel=0
pkgdesc="Portable web rendering engine WebKit for GTK+"
url="https://webkitgtk.org/"
arch="all !x86" # x86 fails with: cc1plus: out of memory allocating 65536 bytes after a total of 3131101184 bytes
arch="all"
license="LGPL-2.0-or-later AND BSD-2-Clause"
makedepends="
bison
......@@ -100,6 +100,9 @@ builddir="$srcdir/webkitgtk-$pkgver"
build() {
local _archopt=
case "$CARCH" in
# disable _FORTIFY_SOURCE to work around:
# cc1plus: out of memory allocating 65536 bytes after a total of 3131101184 bytes
x86) CXXFLAGS="$CXXFLAGS -U_FORTIFY_SOURCE";;
armhf|armv7|ppc64le|s390x) _archopt="-DENABLE_JIT=OFF";;
esac
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment