http://bugs.winehq.org/show_bug.cgi?id=31501
--- Comment #8 from Austin English austinenglish@gmail.com 2012-08-22 13:27:48 CDT --- (In reply to comment #7)
in reply to #6, you should also test that -g is an option in CFLAGS before forcing -gdwarf2 or -gstrict-dwarf A+
-g is enforced by autoconf, AFAICT.
-gdwarf-2 / -gstrict-dwarf are only forced if the compiler supports it, using the WINE_TRY_CFLAGS macro. I think it's highly unlikely that there is a compiler that supports -gdwarf-2 or -gstrict-dwarf but not -g.