From b770eef3a661479476efdf5baa93aad7438c84f0 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 17 May 2024 15:42:43 -0400 Subject: [PATCH] Drop -fno-delete-null-pointer-checks Signed-off-by: Stephen Gallagher --- packaging/nodejs.spec.j2 | 3 --- 1 file changed, 3 deletions(-) diff --git a/packaging/nodejs.spec.j2 b/packaging/nodejs.spec.j2 index cec4611..27105aa 100644 --- a/packaging/nodejs.spec.j2 +++ b/packaging/nodejs.spec.j2 @@ -541,8 +541,6 @@ export CXX='%{__cxx}' export NODE_GYP_FORCE_PYTHON=%{python3} # build with debugging symbols and add defines from libuv (#892601) -# Node's v8 breaks with GCC 6 because of incorrect usage of methods on -# NULL objects. We need to pass -fno-delete-null-pointer-checks # 2022-07-14: There's a bug in either torque or gcc that causes a # segmentation fault on ppc64le and s390x if compiled with -O2. Things # run fine on -O1 and -O3, so we'll just go with -O3 (like upstream) @@ -551,7 +549,6 @@ extra_cflags=( -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZLIB_CONST - -fno-delete-null-pointer-checks -O3 -fno-ipa-icf )