summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 2a36ed455..2f9eaa53f 100755
--- a/configure
+++ b/configure
@@ -217,5 +217,8 @@ make upgradeconf $PARAM
# Makefile.config currently doesn't support custom CXX, so, we add the line
# ourself!
-echo "CXX=$TARGET_CXX" >> Makefile.config
+if ! test -z "$TARGET_CXX"
+then
+ echo "CXX=$TARGET_CXX" >> Makefile.config
+fi