target_musl: remove linkopts
These flags were added in this commit:
commit 58a04fbfec
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date: Tue Jun 15 09:10:15 2021 +0300
bump zig
I am still quite puzzled on why I did this and in such a commit: it
bumps the zig version and changes the linker flag.
Working alone, experimentation time? Probably something like this.
Anyhow, this is a good example of the real value of code reviews.
This commit is contained in:
parent
e1d699f7ed
commit
2f0ae4affa
@ -132,7 +132,7 @@ def _target_linux_musl(gocpu, zigcpu):
|
||||
"libc/include/{}-linux-musl".format(zigcpu),
|
||||
"libc/include/{}-linux-any".format(zigcpu),
|
||||
] + (["libc/include/x86-linux-any"] if zigcpu == "x86_64" else []),
|
||||
linkopts = ["-s", "-w"],
|
||||
linkopts = [],
|
||||
dynamic_library_linkopts = [],
|
||||
copts = ["-D_LIBCPP_HAS_MUSL_LIBC", "-D_LIBCPP_HAS_THREAD_API_PTHREAD"],
|
||||
bazel_target_cpu = "k8",
|
||||
|
Loading…
Reference in New Issue
Block a user