From c4e44dc09805b14c0fd91c4fc1cc67534952bee3 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Mon, 2 May 2011 07:43:48 +0530 Subject: [PATCH] Show the compiler option that caused a warning --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 1435000ea9..2706220d0b 100644 --- a/configure.ac +++ b/configure.ac @@ -363,6 +363,9 @@ CFLAGS="$CFLAGS $extra_warnings" GIMP_DETECT_CFLAGS(extra_warnings, '-fno-common') CFLAGS="$CFLAGS $extra_warnings" +GIMP_DETECT_CFLAGS(extra_warnings, '-fdiagnostics-show-option') +CFLAGS="$CFLAGS $extra_warnings" + # Extra optimization flags for super performance GIMP_DETECT_CFLAGS(extra_warnings, '--omg-optimized')