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 | |
parent | 1ab5468fa49517867ab005ebd7c47cc8190cc119 (diff) | |
download | aur-3dfd57cbd3bc51db8fa77d3d7dcafefba046c9b1.tar.gz |
gcc 11 fix
Added CXXFLAG options to build with gcc 11
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = v8-3.14 pkgdesc = A fast and modern javascript engine (old 3.14 version required R package V8) pkgver = 3.14.5 - pkgrel = 6 + pkgrel = 7 url = http://code.google.com/p/v8 arch = i686 arch = x86_64 @@ -53,4 +53,3 @@ pkgbase = v8-3.14 sha256sums = c67da79111fa171a0900af0da9b151a1568b233f4929922e72d049d7490f98df pkgname = v8-3.14 - @@ -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" |