don't try to remove -g flag from CFLAGS, it is not necessary and doesn't work correctly anyhow (patch 543395)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1177,8 +1177,6 @@ dnl defines GCC empty if not using gcc
|
||||
dnl defines CFLAGS
|
||||
AC_PROG_CC
|
||||
|
||||
CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'`
|
||||
|
||||
dnl is -traditional needed for correct compilations
|
||||
dnl adds -traditional for gcc if needed
|
||||
AC_PROG_GCC_TRADITIONAL
|
||||
@@ -1193,8 +1191,6 @@ dnl defines GXX empty if not using gxx
|
||||
dnl defines CXXFLAGS
|
||||
AC_PROG_CXX
|
||||
|
||||
CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'`
|
||||
|
||||
AC_LANG_RESTORE
|
||||
|
||||
dnl ranlib command
|
||||
|
Reference in New Issue
Block a user