Skip to content

Commit

Permalink
compiler_rt does not need a build_options module
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrk committed Sep 19, 2024
1 parent 727c7c1 commit 223cc1b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 0 additions & 2 deletions bootstrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 223cc1b

Please sign in to comment.