From 2089022aa96bfbe1a7292b09239590be9b8eb37e Mon Sep 17 00:00:00 2001 From: "Zane U. Ji" Date: Wed, 11 Dec 2013 23:44:07 +0800 Subject: [PATCH] Bug #136 Doesn't respect $CXXFLAGS for compilation$ --- configure | 4 ++-- configure.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index c156e9a..5c3ca1e 100755 --- a/configure +++ b/configure @@ -15166,7 +15166,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu CPPFLAGS="$CPPFLAGS -Wall -g -fexceptions" -CXXFLAGS="$CPPFLAGS -Wall -g -fexceptions" +CXXFLAGS="$CXXFLAGS -Wall -g -fexceptions" WXCONFIG=wx-config LIBXMLCONFIG=xml2-config @@ -15250,7 +15250,7 @@ $as_echo "not found" >&6; } fi CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" -CXXFLAGS="$CXXFLAGS $WX_CPPFLAGS" +CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS" diff --git a/configure.in b/configure.in index ec975ee..94c2530 100644 --- a/configure.in +++ b/configure.in @@ -7,7 +7,7 @@ AC_LIBTOOL_DLOPEN AC_PROG_LIBTOOL CPPFLAGS="$CPPFLAGS -Wall -g -fexceptions" -CXXFLAGS="$CPPFLAGS -Wall -g -fexceptions" +CXXFLAGS="$CXXFLAGS -Wall -g -fexceptions" WXCONFIG=wx-config LIBXMLCONFIG=xml2-config @@ -83,7 +83,7 @@ AC_DEFUN([LIBXSLTTEST], LIBXSLTTEST CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" -CXXFLAGS="$CXXFLAGS $WX_CPPFLAGS" +CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS" AC_SUBST(WX_LIBS)