configure: add -g to ASFLAGS when debug is enabled

Originally committed as revision 19804 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Måns Rullgård 16 years ago
parent f7ba16a7f4
commit 95e561ec3e
  1. 2
      configure

2
configure vendored

@ -2384,7 +2384,7 @@ check_header X11/extensions/XShm.h &&
check_func XOpenDisplay -lX11 && check_func XOpenDisplay -lX11 &&
check_func XShmCreateImage -lX11 -lXext check_func XShmCreateImage -lX11 -lXext
enabled debug && add_cflags -g"$debuglevel" enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel"
# add some useful compiler flags if supported # add some useful compiler flags if supported
check_cflags -Wdeclaration-after-statement check_cflags -Wdeclaration-after-statement

Loading…
Cancel
Save