configure: add -g to ASFLAGS when debug is enabled
authorMåns Rullgård <mans@mansr.com>
Thu, 10 Sep 2009 02:42:19 +0000 (02:42 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 10 Sep 2009 02:42:19 +0000 (02:42 +0000)
Originally committed as revision 19804 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index ebac14b..6aa6177 100755 (executable)
--- a/configure
+++ b/configure
@@ -2384,7 +2384,7 @@ check_header X11/extensions/XShm.h      &&
 check_func XOpenDisplay -lX11           &&
 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
 check_cflags -Wdeclaration-after-statement