Unverified Commit bf7f0083 authored by Jörg Thalheim's avatar Jörg Thalheim Committed by GitHub
Browse files

cc-wrapper: autofix code style (#402978)

parents 920a79ee b4d31d66
Loading
Loading
Loading
Loading
+11 −3
Original line number Diff line number Diff line
@@ -745,7 +745,15 @@ stdenvNoCC.mkDerivation {
    # no `/usr/include`, there’s essentially no risk to dropping
    # the flag there. See discussion in NixOS/nixpkgs#191152.
    #
    + optionalString ((cc.isClang or false) && !(cc.isROCm or false) && !targetPlatform.isDarwin && !targetPlatform.isAndroid) ''
    +
      optionalString
        (
          (cc.isClang or false)
          && !(cc.isROCm or false)
          && !targetPlatform.isDarwin
          && !targetPlatform.isAndroid
        )
        ''
          echo " -nostdlibinc" >> $out/nix-support/cc-cflags
        ''