From 6294e65eebb775d6c5f2607f3379b3c222bfb5a0 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 19 Sep 2024 12:55:52 -0700 Subject: [PATCH] compiler_rt does not need a build_options module --- CMakeLists.txt | 2 -- bootstrap.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d7dfbfce81cbf6243764af77dd4bc3c6846a9bec..ebdce53228c97a4f82a97a70795ea15f04defb98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -894,9 +894,7 @@ set(BUILD_COMPILER_RT_ARGS --name compiler_rt -femit-bin="${ZIG_COMPILER_RT_C_SOURCE}" -target "${ZIG_HOST_TARGET_TRIPLE}" - --dep "build_options" "-Mroot=lib/compiler_rt.zig" - "-Mbuild_options=${ZIG_CONFIG_ZIG_OUT}" ) add_custom_command( diff --git a/bootstrap.c b/bootstrap.c index fca6ce108123b233a821677f2be2f26c502df0bb..e1684df19a13a5ae16e829d74ca604d2b5af8196 100644 --- a/bootstrap.c +++ b/bootstrap.c @@ -170,9 +170,7 @@ int main(int argc, char **argv) { "-ofmt=c", "-OReleaseSmall", "--name", "compiler_rt", "-femit-bin=compiler_rt.c", "-target", host_triple, - "--dep", "build_options", "-Mroot=lib/compiler_rt.zig", - "-Mbuild_options=config.zig", NULL, }; print_and_run(child_argv); -- 2.54.0