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 d7dfbfce81..ebdce53228 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 fca6ce1081..e1684df19a 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);