[103895] users/larryv/dports/lang/rust/Portfile
Ryan Schmidt
ryandesign at macports.org
Sat Mar 9 17:32:02 PST 2013
On Mar 9, 2013, at 15:24, larryv at macports.org wrote:
> 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}
> }
Is there a reason not to always use "${configure.cc} -E", for all compilers? That usually works. In fact most software uses that by default.
More information about the macports-dev
mailing list