configure: comment out -Wsystem-headers for now...

It outputs far too many warnings on some systems (like OSX apparently).
This commit is contained in:
Jehan 2015-09-09 03:21:49 +02:00
parent 5f5c3db3ca
commit 7160e05349
1 changed files with 4 additions and 2 deletions

View File

@ -440,8 +440,10 @@ CFLAGS="$CFLAGS $extra_warnings"
# -Wreturn-type warns on forgotten return on non-void functions,
# but not of g_return_if_fail() on non-void functions.
# -Wsystem-headers is needed for that.
GIMP_DETECT_CFLAGS(extra_warnings, '-Wsystem-headers')
CFLAGS="$CFLAGS $extra_warnings"
# Unfortunately it pulls tons of warnings on some systems.
# So we comment out for now.
# GIMP_DETECT_CFLAGS(extra_warnings, '-Wsystem-headers')
# CFLAGS="$CFLAGS $extra_warnings"
# Extra optimization flags for super performance
GIMP_DETECT_CFLAGS(extra_warnings, '--omg-optimized')