Changes between Initial Version and Version 1 of Ticket #38389


Ignore:
Timestamp:
Mar 14, 2013, 8:10:13 PM (11 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

When you say "LLVM is the default compiler now", that's not true for all versions of Xcode that MacPorts supports (Xcode 2.4.1 and up, mostly).

Why does this new variant need to conflict with universal? We like being able to build universal, so I would prefer if the default set of variants did not prevent it.

Shouldn't you be appending to the cxxflags rather than overwriting them?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38389

    • Property Owner changed from macports-tickets@… to mmoll@…
    • Property Summary changed from LLVM C11 support to hdf5-18: LLVM C11 support
  • Ticket #38389 – Description

    initial v1  
    33For the C++ support for this port under Xcode if compiling with LLVM stdlib the flag -stdlib=libc++ is required if a project has been compiled with LLVM C11 support in Xcode. As such the following variant is necessary for the linker to not complain.
    44
     5{{{
    56variant c11 description {
    67    Build with C11 support.
     
    89    configure.cxxflags          -stdlib=libc++
    910}
     11}}}
    1012
    1113Given that LLVM is the default compiler now, this should perhaps even be a default variant....