[102904] trunk/dports/lang/llvm-gcc42/files/build_gcc
jeremyhu at macports.org
jeremyhu at macports.org
Sun Feb 10 15:51:17 PST 2013
Revision: 102904
https://trac.macports.org/changeset/102904
Author: jeremyhu at macports.org
Date: 2013-02-10 15:51:17 -0800 (Sun, 10 Feb 2013)
Log Message:
-----------
llvm-gcc42: Fix quoting issues in build_gcc
Modified Paths:
--------------
trunk/dports/lang/llvm-gcc42/files/build_gcc
Modified: trunk/dports/lang/llvm-gcc42/files/build_gcc
===================================================================
--- trunk/dports/lang/llvm-gcc42/files/build_gcc 2013-02-10 23:32:37 UTC (rev 102903)
+++ trunk/dports/lang/llvm-gcc42/files/build_gcc 2013-02-10 23:51:17 UTC (rev 102904)
@@ -290,9 +290,9 @@
# compile with clang/clang++ if available; if LLVM is not
# available, fall back to usual GCC/G++ default.
XTMPCC=`xcrun -find clang`
-if [ x$CC = x -a x$XTMPCC != x ] ; then export CC=$XTMPCC forcedCC=1 ; fi
+if [ x"$CC" = x -a x"$XTMPCC" != x ] ; then export CC="$XTMPCC" forcedCC=1 ; fi
XTMPCC=`xcrun -find clang++`
-if [ x$CXX = x -a x$XTMPCC != x ] ; then export CXX=$XTMPCC forcedCXX=1 ; fi
+if [ x"$CXX" = x -a x"$XTMPCC" != x ] ; then export CXX="$XTMPCC" forcedCXX=1 ; fi
unset XTMPCC
# Build the native GCC. Do this even if the user didn't ask for it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130210/2b5bc5fc/attachment.html>
More information about the macports-changes
mailing list