configure: --enable-debug: don't change other compiler flags
commite48c6f446c4de708dd9d3b47d3479620208f7430
authorUoti Urpala <uau@mplayer2.org>
Thu, 19 Apr 2012 14:05:50 +0000 (19 17:05 +0300)
committerUoti Urpala <uau@mplayer2.org>
Thu, 19 Apr 2012 14:05:50 +0000 (19 17:05 +0300)
treebe1fcf1cb17674d452450c713e60b15a4cce1a64
parentdeffd15a056f98bbe1bc34ce87dea0b4a530d61d
configure: --enable-debug: don't change other compiler flags

The --enable-debug and --enable-profile options set their own compiler
flags, completely different from normal flag selection. These flags
sucked; especially '-W' (an obsolete alias for '-Wextra') generated a
huge number of irrelevant warnings. Change configure to only add "-g"
or similar to the flags that would be used otherwise.
configure