configure: Do not omit frame pointers for msvc/icl debug builds
authorAlex Smith <alex.smith@warpsharp.info>
Mon, 24 Jun 2013 21:10:12 +0000 (21:10 +0000)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Mon, 24 Jun 2013 22:51:30 +0000 (18:51 -0400)
Because O1 or O2 are required to build libav with msvc/icl, this must be
explicitly set instead of just omitting Oy.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
configure

index fdbea76076b1744ab91839dd6b5375dee3625b7e..db591e883616dc2a9b1e6292aed5418b54786d61 100755 (executable)
--- a/configure
+++ b/configure
@@ -3956,6 +3956,7 @@ elif enabled pathscale; then
     add_cflags -fstrict-overflow -OPT:wrap_around_unsafe_opt=OFF
 elif enabled_any msvc icl; then
     enabled x86_32 && disable aligned_stack
     add_cflags -fstrict-overflow -OPT:wrap_around_unsafe_opt=OFF
 elif enabled_any msvc icl; then
     enabled x86_32 && disable aligned_stack
+    enabled_all x86_32 debug && add_cflags -Oy-
     if enabled icl; then
         # basically -fstrict-aliasing that does not work (correctly) on icl 13.x
         check_cpp_condition "windows.h" "__ICL < 1300" && add_cflags -Qansi-alias
     if enabled icl; then
         # basically -fstrict-aliasing that does not work (correctly) on icl 13.x
         check_cpp_condition "windows.h" "__ICL < 1300" && add_cflags -Qansi-alias