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

darwin.developer_cmds: add -fcommon workaround

authored by

Sergei Trofimovich and committed by
GitHub
d07b20da f436bf11

+4
+4
pkgs/os-specific/darwin/apple-source-releases/developer_cmds/default.nix
··· 16 16 --replace "/usr/bin/cpp" "$out/bin/clang-cpp" 17 17 ''; 18 18 19 + # Workaround build failure on -fno-common toolchains: 20 + # duplicate symbol '_btype_2' in:args.o pr_comment.o 21 + NIX_CFLAGS_COMPILE = "-fcommon"; 22 + 19 23 # temporary install phase until xcodebuild has "install" support 20 24 installPhase = '' 21 25 for f in Products/Release/*; do