Show the compiler option that caused a warning

This commit is contained in:
Mukund Sivaraman 2011-05-02 07:43:48 +05:30
parent c35ff719a7
commit c4e44dc098
1 changed files with 3 additions and 0 deletions

View File

@ -363,6 +363,9 @@ CFLAGS="$CFLAGS $extra_warnings"
GIMP_DETECT_CFLAGS(extra_warnings, '-fno-common') GIMP_DETECT_CFLAGS(extra_warnings, '-fno-common')
CFLAGS="$CFLAGS $extra_warnings" CFLAGS="$CFLAGS $extra_warnings"
GIMP_DETECT_CFLAGS(extra_warnings, '-fdiagnostics-show-option')
CFLAGS="$CFLAGS $extra_warnings"
# Extra optimization flags for super performance # Extra optimization flags for super performance
GIMP_DETECT_CFLAGS(extra_warnings, '--omg-optimized') GIMP_DETECT_CFLAGS(extra_warnings, '--omg-optimized')