Skip to content

Commit

Permalink
Enforce MacOS compatibility with 10.13 (digital-asset#260)
Browse files Browse the repository at this point in the history
* Enforce MacOS compatibility with 10.13
  • Loading branch information
moritzkiefer-da authored Apr 5, 2019
1 parent fd156c3 commit 473cb6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nix/tools/bazel-cc-toolchain/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
, runCommand
}:


# XXX On Darwin, workaround
# https://github.com/NixOS/nixpkgs/issues/42059. See also
# https://github.com/NixOS/nixpkgs/pull/41589.
Expand All @@ -31,6 +32,7 @@ let cc-darwin =
makeWrapper ${stdenv.cc}/bin/clang $out/bin/clang \
--add-flags "-Wno-unused-command-line-argument \
-mmacosx-version-min=10.13 \
-isystem ${llvmPackages.libcxx}/include/c++/v1 \
-F${CoreFoundation}/Library/Frameworks \
-F${CoreServices}/Library/Frameworks \
Expand Down

0 comments on commit 473cb6c

Please sign in to comment.