Changeset 117138 for trunk/dports/kde


Ignore:
Timestamp:
Feb 17, 2014, 2:58:54 PM (6 years ago)
Author:
nicos@…
Message:

kdevplatform: add -fexceptions for non-clang compilers

Location:
trunk/dports/kde/kdevplatform
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/kde/kdevplatform/Portfile

    r116970 r117138  
    6565}
    6666
    67 #Using c++0x for Lion and higher in case of clang 64-bit
    68 if {${configure.compiler} == "clang" && ${os.platform} eq "darwin" && ${os.major} >= 11} {
     67if {${configure.compiler} ne "clang"} {
     68    #Adding -fexceptions, required by gcc compilers
     69    patchfiles-append   patch-languageCMakeLists.diff
     70} elseif {${os.platform} eq "darwin" && ${os.major} >= 11} {
     71    #Using c++0x for Lion and higher in case of clang 64-bit
    6972    lappend merger_configure_args(x86_64)   -DCMAKE_CXX_FLAGS='-stdlib=libc++' -DHAVE_UNORDERED_MAP=1
    7073    if {${build_arch} eq "x86_64" && ![variant_isset universal]} {
Note: See TracChangeset for help on using the changeset viewer.