mirror of
https://github.com/ziglang/zig.git
synced 2024-11-13 23:52:57 +00:00
compiler_rt does not need a build_options module
This commit is contained in:
parent
cefcf39faa
commit
6294e65eeb
@ -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(
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user