Changeset 103895


Ignore:
Timestamp:
Mar 9, 2013, 9:24:55 PM (7 years ago)
Author:
larryv@…
Message:

[sandbox] rust: Use correct preprocessor for clang.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • users/larryv/dports/lang/rust/Portfile

    r103892 r103895  
    8484if {[string match *clang* ${configure.compiler}]} {
    8585    configure.args-append   --enable-clang
     86    build.args-append       CPP="${configure.cc} -E"
     87} else {
     88    build.args-append       CPP=${configure.cpp}
    8689}
    8790
    88 # There's a makefile that ignores the configure script CC options, this makes \
    89 # it behave.
    9091build.args-append   CC=${configure.cc} \
    9192                    CXX=${configure.cxx} \
    92                     CPP=${configure.cpp} \
    9393                    VERBOSE=1
    9494use_parallel_build  no
Note: See TracChangeset for help on using the changeset viewer.