Ticket #36478: Portfile-gdb-disable-ccache-for-clang.patch

File Portfile-gdb-disable-ccache-for-clang.patch, 609 bytes (added by manphiz@…, 12 years ago)

Add comments about the clang and ccache issue.

  • Portfile

    diff -Naur /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gdb/Portfile ./Portfile
    old new  
    6464
    6565if {${configure.compiler} == "clang"} {
    6666    configure.cflags-append -Wno-unused-value
     67
     68    # ccache will cause "unused arguments" warning when used with clang
     69    # disable "-Werror" until ccache upstream fixes this
     70    configure.args-append --enable-werror=no
    6771}
    6872
    6973post-destroot {