Skip to content
Permalink
Browse files

libcxx: universal only when not a stub

  • Loading branch information
jmroot committed Oct 3, 2018
1 parent 8b2d419 commit ee3a8f17c5323f750d378d10de18835a0a87fdad
Showing with 3 additions and 2 deletions.
  1. +3 −2 lang/libcxx/Portfile
@@ -38,8 +38,6 @@ checksums libcxxabi-5.0.1.src.tar.xz \
sha256 fa8f99dd2bde109daa3276d529851a3bce5718d46ce1c5d0806f46caa3e57c00

use_configure no
universal_variant yes
default_variants +universal

set roots_path ${prefix}/var/system_roots/
set root_name ${name}-${version}-${revision}
@@ -71,6 +69,9 @@ platform darwin {
variant replacemnt_libcxx description {EXPERTS ONLY: Build a replacement libcxxabi and libcxx even if it is already part of the base OS.} {}

if {${os.major} < 11 || [variant_isset replacemnt_libcxx]} {
variant universal {}
default_variants +universal

compiler.blacklist *gcc* {clang < 500}

# clang 3.5 and newer are conditionally blacklisted to prevent dependency cycles

0 comments on commit ee3a8f1

Please sign in to comment.
You can’t perform that action at this time.