We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4b4cae commit 64ba2f0Copy full SHA for 64ba2f0
1 file changed
make/autoconf/flags-cflags.m4
@@ -737,6 +737,15 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
737
$1_TOOLCHAIN_CFLAGS="${$1_GCC6_CFLAGS}"
738
739
$1_WARNING_CFLAGS_JVM="-Wno-format-zero-length -Wtype-limits -Wuninitialized"
740
+ elif test "x$TOOLCHAIN_TYPE" = xclang; then
741
+ NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
742
+ FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG],
743
+ PREFIX: $3,
744
+ IF_FALSE: [
745
+ NO_DELETE_NULL_POINTER_CHECKS_CFLAG=
746
+ ]
747
+ )
748
+ $1_TOOLCHAIN_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG}"
749
fi
750
751
if test "x$TOOLCHAIN_TYPE" = xmicrosoft && test "x$ENABLE_REPRODUCIBLE_BUILD" = xtrue; then
0 commit comments