]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use -ggdb when not using cc (part of bug 1202893)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 May 2005 16:49:10 +0000 (16:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 May 2005 16:49:10 +0000 (16:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index a1006ee4d4f4f99aed1c0dc560bda02de7b88214..db8eb04df0aab4b7391f570f67c06a4fe905e32a 100644 (file)
@@ -4659,7 +4659,9 @@ fi
 
 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
     wxUSE_DEBUG_INFO=yes
 
 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
     wxUSE_DEBUG_INFO=yes
-    WXDEBUG="-ggdb"
+    if test "$GCC" = yes; then
+        WXDEBUG="-ggdb"
+    fi
 fi
 
 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
 fi
 
 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then