Browse files

XALANC-734 Allow runConfigure to inherit CFLAGS and CXXFLAGS from the…

… environment

git-svn-id: https://svn.apache.org/repos/asf/xalan/c/trunk@1393231 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 8424a82 commit fbd90586954db5d510f3e2db0ef723f4be8edcbc Steven J. Hathaway committed Oct 2, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 runConfigure
View
8 runConfigure
@@ -19,6 +19,10 @@
#
#
# $Log$
+# Revision 1.15 2012/10/02 shathaway
+# Allow CFLAGS and CXXFLAGS to inherit external environment.
+# Fix for XALANC-734
+#
# Revision 1.14 2005/08/16 23:48:26 dmitryh
# Addional fix for XALANC-541
#
@@ -654,10 +658,10 @@ fi
# Set the extra C and C++ compiler flags
#
-CXXFLAGS="$compileroptions $debugflag $transcodingDefines $threadingDefines $bitstobuildDefines "
+CXXFLAGS="$CXXFLAGS $compileroptions $debugflag $transcodingDefines $threadingDefines $bitstobuildDefines "
export CXXFLAGS
-CFLAGS="$compileroptions $debugflag $transcodingDefines $threadingDefines $bitstobuildDefines "
+CFLAGS="$CFLAGS $compileroptions $debugflag $transcodingDefines $threadingDefines $bitstobuildDefines "
export CFLAGS
LDFLAGS="$LDFLAGS $linkeroptions $bitstobuildLink $threadingDefines"

0 comments on commit fbd9058

Please sign in to comment.