Commit 82ab846f authored by Mark Andrews's avatar Mark Andrews Committed by Ondřej Surý

Force test for -fno-delete-null-pointer-checks to fail

parent d70cba39
Pipeline #40456 canceled with stages
in 16 minutes and 46 seconds
......@@ -140,7 +140,8 @@ STD_CPPFLAGS="-D_FORTIFY_SOURCE=2"
[STD_CFLAGS="$STD_CFLAGS -fno-strict-aliasing"])
# Clang only issues a warning so use -Werror to force a error.
AX_CHECK_COMPILE_FLAG([-Werror -fno-delete-null-pointer-checks],
[STD_CFLAGS="$STD_CFLAGS -fno-delete-null-pointer-checks"])
[STD_CFLAGS="$STD_CFLAGS -fdiagnostics-show-option"])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment