We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 623b612 commit 1c36dd2Copy full SHA for 1c36dd2
pkgs/build-support/cc-wrapper/default.nix
@@ -646,7 +646,7 @@ stdenvNoCC.mkDerivation {
646
# no `/usr/include`, there’s essentially no risk to dropping
647
# the flag there. See discussion in NixOS/nixpkgs#191152.
648
#
649
- + optionalString ((cc.isClang or false) && !(cc.isROCm or false) && !targetPlatform.isDarwin) ''
+ + optionalString ((cc.isClang or false) && !(cc.isROCm or false) && !targetPlatform.isDarwin && !targetPlatform.isAndroid) ''
650
echo " -nostdlibinc" >> $out/nix-support/cc-cflags
651
''
652
0 commit comments