[103895] users/larryv/dports/lang/rust/Portfile
larryv at macports.org
larryv at macports.org
Sat Mar 9 13:24:55 PST 2013
Revision: 103895
https://trac.macports.org/changeset/103895
Author: larryv at macports.org
Date: 2013-03-09 13:24:55 -0800 (Sat, 09 Mar 2013)
Log Message:
-----------
[sandbox] rust: Use correct preprocessor for clang.
Modified Paths:
--------------
users/larryv/dports/lang/rust/Portfile
Modified: users/larryv/dports/lang/rust/Portfile
===================================================================
--- users/larryv/dports/lang/rust/Portfile 2013-03-09 20:54:11 UTC (rev 103894)
+++ users/larryv/dports/lang/rust/Portfile 2013-03-09 21:24:55 UTC (rev 103895)
@@ -83,13 +83,13 @@
if {[string match *clang* ${configure.compiler}]} {
configure.args-append --enable-clang
+ build.args-append CPP="${configure.cc} -E"
+} else {
+ build.args-append CPP=${configure.cpp}
}
-# There's a makefile that ignores the configure script CC options, this makes \
-# it behave.
build.args-append CC=${configure.cc} \
CXX=${configure.cxx} \
- CPP=${configure.cpp} \
VERBOSE=1
use_parallel_build no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130309/5e66c3f5/attachment.html>
More information about the macports-changes
mailing list