diff options
author | TBK <tbk@jjtc.eu> | 2020-02-28 17:39:48 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2020-03-10 10:09:41 +0000 |
commit | 9a9c92814f4cdfb6c0e0ea64de80dd6fc6768354 (patch) | |
tree | 4213e54b7f9c34ab268751fb58f491a378cfd011 /community/chromium/gcc-fno-delete-null-pointer-checks.patch | |
parent | 3de17b3cc40b8a864ac86542b7dc4820c9fbffe1 (diff) | |
download | aports-9a9c92814f4cdfb6c0e0ea64de80dd6fc6768354.tar.bz2 aports-9a9c92814f4cdfb6c0e0ea64de80dd6fc6768354.tar.xz |
community/chromium: upgrade to 80.0.3987.122
Diffstat (limited to 'community/chromium/gcc-fno-delete-null-pointer-checks.patch')
-rw-r--r-- | community/chromium/gcc-fno-delete-null-pointer-checks.patch | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/community/chromium/gcc-fno-delete-null-pointer-checks.patch b/community/chromium/gcc-fno-delete-null-pointer-checks.patch index 792cef60f6..55118fef27 100644 --- a/community/chromium/gcc-fno-delete-null-pointer-checks.patch +++ b/community/chromium/gcc-fno-delete-null-pointer-checks.patch @@ -1,17 +1,15 @@ -diff --git a/v8/BUILD.gn b/v8/BUILD.gn -index 3c03942..870b1e6 100644 --- ./v8/BUILD.gn +++ ./v8/BUILD.gn -@@ -577,6 +577,14 @@ config("toolchain") { - defines += [ "V8_ANDROID_LOG_STDOUT" ] +@@ -675,6 +675,14 @@ + defines += [ "V8_TARGET_OS_WIN" ] } + if (!is_win && !is_clang) { -+ # GCC 6+ can optimize away pointer comparisons to null. This is ++ # GCC 6 can optimize away pointer comparisons to null. This is + # problematic as V8 encodes Values through tagged pointers and comparisons + # with 0 are actually necessary in many cases. As a temporary Workaround + # we disable this optimization. See: https://crbug.com/v8/3782 -+ cflags += [ "-fno-delete-null-pointer-checks" ] ++ cflags = [ "-fno-delete-null-pointer-checks" ] + } + # TODO(jochen): Support v8_enable_prof on Windows. |