summaryrefslogtreecommitdiff
path: root/dev-lang/zig/files
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2022-06-07 14:54:54 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2022-06-07 15:01:24 -0400
commitbbf484bea36864e1fef738d0828b7e4ec5b82d7d (patch)
treec091835e58b622ef83a75f281f8bf7502afa5a02 /dev-lang/zig/files
parentfacaaf6c235d2caeb78f6f786b0f45a7b04a3bff (diff)
downloadgentoo-overlay-bbf484bea36864e1fef738d0828b7e4ec5b82d7d.tar.xz
gentoo-overlay-bbf484bea36864e1fef738d0828b7e4ec5b82d7d.zip
dev-lang/zig: upgrade to 0.9.1, sync ::gentoo
Diffstat (limited to 'dev-lang/zig/files')
-rw-r--r--dev-lang/zig/files/zig-0.9.1-fix-single-threaded.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-lang/zig/files/zig-0.9.1-fix-single-threaded.patch b/dev-lang/zig/files/zig-0.9.1-fix-single-threaded.patch
new file mode 100644
index 0000000..70f807f
--- /dev/null
+++ b/dev-lang/zig/files/zig-0.9.1-fix-single-threaded.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 638f39f7e..791477c41 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -787,7 +787,7 @@ else()
+ set(ZIG1_RELEASE_ARG -OReleaseFast --strip)
+ endif()
+ if(ZIG_SINGLE_THREADED)
+- set(ZIG1_SINGLE_THREADED_ARG "-fsingle-threaded")
++ set(ZIG1_SINGLE_THREADED_ARG "--single-threaded")
+ else()
+ set(ZIG1_SINGLE_THREADED_ARG "")
+ endif()