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.
2 parents 151efeb + 1c36dd2 commit c00afdfCopy full SHA for c00afdf
pkgs/build-support/cc-wrapper/default.nix
@@ -745,7 +745,7 @@ stdenvNoCC.mkDerivation {
745
# no `/usr/include`, there’s essentially no risk to dropping
746
# the flag there. See discussion in NixOS/nixpkgs#191152.
747
#
748
- + optionalString ((cc.isClang or false) && !(cc.isROCm or false) && !targetPlatform.isDarwin) ''
+ + optionalString ((cc.isClang or false) && !(cc.isROCm or false) && !targetPlatform.isDarwin && !targetPlatform.isAndroid) ''
749
echo " -nostdlibinc" >> $out/nix-support/cc-cflags
750
''
751
0 commit comments