Ignore:
Timestamp:
Jun 17, 2014, 8:16:44 PM (5 years ago)
Author:
mojca@…
Message:

cmake-1.0.tcl: remove -I${prefix}/include from C(XX)FLAGS (#42872)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/cmake-1.0.tcl

    r119436 r121112  
    8282    # (CMake upstream ticket #12928 "CMake silently ignores CPPFLAGS"
    8383    # <http://www.cmake.org/Bug/view.php?id=12928>).
    84     # Thus, we have to add them manually to the CFLAGS and CXXFLAGS in the
    85     # pre-configure phase.
    86     if {${configure.cppflags} ne ""} {
    87         configure.cflags-append ${configure.cppflags}
    88         configure.cxxflags-append ${configure.cppflags}
    89     }
     84    #
     85    # But adding -I${prefix}/include to CFLAGS/CXXFLAGS is a bad idea.
     86    # If any other flags are needed, we need to add them.
    9087
    9188    # In addition, CMake provides build-type-specific flags for
Note: See TracChangeset for help on using the changeset viewer.