Ignore:
Timestamp:
Nov 2, 2013, 6:20:54 PM (6 years ago)
Author:
jeremyhu@…
Message:

cmake: Also use the correct C++ stdlib in +debug

File:
1 edited

Legend:

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

    r112842 r112844  
    150150        configure.args-append -DCMAKE_C_FLAGS_DEBUG="-g ${configure.cflags}"
    151151    }
    152     if {${configure.cxxflags} != ""} {
    153         configure.args-append -DCMAKE_CXX_FLAGS_DEBUG="-g ${configure.cxxflags}"
     152    if {${configure.cxxflags} != "" || ${cxx_stdlibflags} != ""} {
     153        configure.args-append -DCMAKE_CXX_FLAGS_DEBUG="-g ${configure.cxxflags} ${cxx_stdlibflags}"
    154154    }
    155155}
Note: See TracChangeset for help on using the changeset viewer.