codex / patches /xz_windows_stack_args.patch
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
2ee40b0 verified
Raw
History Blame Contribute Delete
379 Bytes
diff --git a/BUILD.bazel b/BUILD.bazel
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -154,6 +154,9 @@ cc_library(
],
copts = select({
- "@platforms//os:windows": [],
+ "@platforms//os:windows": [
+ "-fno-stack-protector",
+ "-mno-stack-arg-probe",
+ ],
"//conditions:default": ["-std=c99"],
}),
defines = select({