Ignore:
Timestamp:
Sep 2, 2013, 8:30:29 AM (6 years ago)
Author:
jeremyhu@…
Message:

sc: Build with clang

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/finance/sc/Portfile

    r101880 r110570  
    2828use_configure       no
    2929
    30 compiler.blacklist  clang
     30# TODO: This is a real bug that clang is complaining about.
     31#       Fix it rather than just working around it
     32if {[string match "*clang*" ${configure.compiler}]} {
     33    configure.cflags-append -Wno-error=return-type
     34}
    3135
    3236variant universal {}
    3337
    34 build.args-append   CC="${configure.cc} [get_canonical_archflags]"
     38build.args-append   CC="${configure.cc} ${configure.cppflags} ${configure.cflags} [get_canonical_archflags]"
    3539
    3640destroot.destdir    prefix=${destroot}${prefix}
Note: See TracChangeset for help on using the changeset viewer.