mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/webkit2gtk fix
This commit is contained in:
parent
052bff15bb
commit
62901ba7cd
1 changed files with 1 additions and 2 deletions
|
@ -41,12 +41,11 @@ build() {
|
|||
|
||||
# do not use LLINT assembly for v5/v6
|
||||
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && CONFIG="-DENABLE_JIT=OFF"
|
||||
[[ $CARCH == "aarch64" ]] && CONFIG="-DUSE_LD_GOLD=OFF"
|
||||
|
||||
cmake -DPORT=GTK -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DLIB_INSTALL_DIR=/usr/lib -DLIBEXEC_INSTALL_DIR=/usr/lib/webkit2gtk-4.0 \
|
||||
-DENABLE_GTKDOC=ON -DPYTHON_EXECUTABLE=/usr/bin/python2 ../webkitgtk-$pkgver
|
||||
-DENABLE_GTKDOC=ON -DPYTHON_EXECUTABLE=/usr/bin/python2 $CONFIG ../webkitgtk-$pkgver
|
||||
|
||||
# strip -O3 from cmake generated makefiles
|
||||
find ./ -type f -exec sed -i -e 's/-O3//g' {} \;
|
||||
|
|
Loading…
Reference in a new issue