diff options
author | Paul Hentschel (hpmachining) | 2021-10-03 21:54:03 -0400 |
---|---|---|
committer | Paul Hentschel (hpmachining) | 2021-10-03 21:54:03 -0400 |
commit | 3dfd57cbd3bc51db8fa77d3d7dcafefba046c9b1 (patch) | |
tree | ed658d8643b1a444fc9e7003e48667e8ad9c9d16 /PKGBUILD | |
parent | 1ab5468fa49517867ab005ebd7c47cc8190cc119 (diff) | |
download | aur-3dfd57cbd3bc51db8fa77d3d7dcafefba046c9b1.tar.gz |
gcc 11 fix
Added CXXFLAG options to build with gcc 11
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ pkgname=v8-3.14 pkgver=3.14.5 -pkgrel=6 +pkgrel=7 pkgdesc='A fast and modern javascript engine (old 3.14 version required R package 'V8')' arch=('i686' 'x86_64') url='http://code.google.com/p/v8' @@ -93,7 +93,7 @@ build() { # keep old ABI to prevent symbol changes due to GCC5 transition # https://wiki.debian.org/GCC5 - export CXXFLAGS="${CXXFLAGS} -fno-delete-null-pointer-checks -std=c++98 -Wno-class-memaccess -Wno-cast-function-type -Wno-error=stringop-truncation -Wno-error=array-bounds -Wno-error=stringop-overflow" + export CXXFLAGS="${CXXFLAGS} -fno-delete-null-pointer-checks -std=c++98 -Wno-class-memaccess -Wno-cast-function-type -Wno-error=stringop-truncation -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=misleading-indentation -Wno-error=nonnull -Wno-error=mismatched-new-delete" export GYPFLAGS="-Dhost_arch=$ARCH -DOS=linux" |