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
|
--name compiler_rt
|
||||||
-femit-bin="${ZIG_COMPILER_RT_C_SOURCE}"
|
-femit-bin="${ZIG_COMPILER_RT_C_SOURCE}"
|
||||||
-target "${ZIG_HOST_TARGET_TRIPLE}"
|
-target "${ZIG_HOST_TARGET_TRIPLE}"
|
||||||
--dep "build_options"
|
|
||||||
"-Mroot=lib/compiler_rt.zig"
|
"-Mroot=lib/compiler_rt.zig"
|
||||||
"-Mbuild_options=${ZIG_CONFIG_ZIG_OUT}"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
|
@ -170,9 +170,7 @@ int main(int argc, char **argv) {
|
|||||||
"-ofmt=c", "-OReleaseSmall",
|
"-ofmt=c", "-OReleaseSmall",
|
||||||
"--name", "compiler_rt", "-femit-bin=compiler_rt.c",
|
"--name", "compiler_rt", "-femit-bin=compiler_rt.c",
|
||||||
"-target", host_triple,
|
"-target", host_triple,
|
||||||
"--dep", "build_options",
|
|
||||||
"-Mroot=lib/compiler_rt.zig",
|
"-Mroot=lib/compiler_rt.zig",
|
||||||
"-Mbuild_options=config.zig",
|
|
||||||
NULL,
|
NULL,
|
||||||
};
|
};
|
||||||
print_and_run(child_argv);
|
print_and_run(child_argv);
|
||||||
|
Loading…
Reference in New Issue
Block a user