summaryrefslogtreecommitdiff
path: root/dev-lang/zig/files/zig-0.9.1-fix-single-threaded.patch
blob: 70f807f2d5501969c834a368d77ebb2456a3bb4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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()