configure: Fix debugging on mingw-w64 with gdb
authorAlex Smith <alex.smith@warpsharp.info>
Tue, 29 Mar 2016 05:30:50 +0000 (01:30 -0400)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 31 Mar 2016 12:34:17 +0000 (14:34 +0200)
commita677121cc568db7c101ebf3a797a779a983fc668
tree4f388773557dcc397451ad55b28676845255c30c
parentcf925e0ac19d6ca02ab5e60575cad4b0e519b94d
configure: Fix debugging on mingw-w64 with gdb

The relocation hack broke debugging on mingw-w64 when using gdb.  This
makes the reloc hack dependent on --disable-debug so it's still enabled
for release builds.

This is simply an immediate fix for the issue of broken debugging, we
should probably still look at the possibility of reverting it outright
if it proves to be more trouble than it's worth.  For now keeping it
enabled for release builds is a reasonable trade off.

Signed-off-by: Alex Smith <theryuu@warpsharp.info>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
configure