commit ec1334d2d41c3e1ca57ad1c3a213d4cc8fc8dd5e (tree)
parent bd4a1f38fa6895e85dcec0436a779af75df1872a
Author: Andrew Kelley <andrew@ziglang.org>
Date: Mon, 5 Dec 2022 13:17:07 -0700
CMake: remove --color on
This flag makes CI servers print garbage to the terminal. I started
implementing detection in wasi.c, but it would have destroyed the
beautiful code that only touches the C stdlib, does not do any
conditional compilation based on the operating system, or rely on any
POSIX functions.
So instead, let's just do without this flag to retain simplicity in this
step of the build process.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -770,7 +770,6 @@ set(BUILD_ZIG2_ARGS
--name zig2 -femit-bin="${ZIG2_C_SOURCE}"
--pkg-begin build_options "${CMAKE_BINARY_DIR}/config.zig" --pkg-end
-target "${HOST_TARGET_TRIPLE}"
- --color on
)
add_custom_command(