From bbf484bea36864e1fef738d0828b7e4ec5b82d7d Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Tue, 7 Jun 2022 14:54:54 -0400 Subject: dev-lang/zig: upgrade to 0.9.1, sync ::gentoo --- dev-lang/zig/files/zig-0.9.1-fix-single-threaded.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dev-lang/zig/files/zig-0.9.1-fix-single-threaded.patch (limited to 'dev-lang/zig/files') 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() -- cgit v1.2.3-70-g09d2