diff options
Diffstat (limited to 'config-scripts/cups-compiler.m4')
-rw-r--r-- | config-scripts/cups-compiler.m4 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/config-scripts/cups-compiler.m4 b/config-scripts/cups-compiler.m4 index 7cd440ff4..89176fd3b 100644 --- a/config-scripts/cups-compiler.m4 +++ b/config-scripts/cups-compiler.m4 @@ -102,15 +102,15 @@ if test -n "$GCC"; then # Address sanitizer is a useful tool to use when developing/debugging # code but adds about 2x overhead... - if test x$enable_sanitizer = xyes; then - # Use -fsanitize=address with debugging... + if test x$enable_sanitizer = xyes; then + # Use -fsanitize=address with debugging... OPTIM="$OPTIM -g -fsanitize=address" - else - # Otherwise use the Fortify enhancements to catch any unbounded - # string operations... - CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" - CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2" - fi + else + # Otherwise use the Fortify enhancements to catch any unbounded + # string operations... + CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" + CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2" + fi # Default optimization options... if test -z "$OPTIM"; then |