lol

python311Packages.pytorch: mark some flags as gcc-only

+3 -2
+3 -2
pkgs/development/python-modules/torch/default.nix
··· 304 304 "-Wno-pass-failed" 305 305 ] ++ [ 306 306 "-Wno-unused-command-line-argument" 307 - "-Wno-maybe-uninitialized" 308 307 "-Wno-uninitialized" 309 308 "-Wno-array-bounds" 310 - "-Wno-stringop-overflow" 311 309 "-Wno-free-nonheap-object" 312 310 "-Wno-unused-result" 311 + ] ++ lib.optionals stdenv.cc.isGNU [ 312 + "-Wno-maybe-uninitialized" 313 + "-Wno-stringop-overflow" 313 314 ])); 314 315 315 316 nativeBuildInputs = [