Merge pull request #176389 from trofi/workaround-fno-common-for-darwin.developer_cmds

darwin.developer_cmds: add -fcommon workaround
main
Sergei Trofimovich 2 years ago committed by GitHub
commit d07b20daf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      pkgs/os-specific/darwin/apple-source-releases/developer_cmds/default.nix

@ -16,6 +16,10 @@ appleDerivation {
--replace "/usr/bin/cpp" "$out/bin/clang-cpp"
'';
# Workaround build failure on -fno-common toolchains:
# duplicate symbol '_btype_2' in:args.o pr_comment.o
NIX_CFLAGS_COMPILE = "-fcommon";
# temporary install phase until xcodebuild has "install" support
installPhase = ''
for f in Products/Release/*; do

Loading…
Cancel
Save