authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-09-16 20:28:51-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-09-16 20:28:51-07:00
logbc01887376c227a5f42715f48471dcca14b3d31b
tree415152aa0d00cc12f581c28fa822e9e6933cecff
parent01a7affb87f74e33e674891d77d4b720d3014013

stage2: verify -Wl zig cc behavior


2 files changed, 0 insertions(+), 2 deletions(-)

BRANCH_TODO-1
...@@ -1,6 +1,5 @@...@@ -1,6 +1,5 @@
1 * make sure zig cc works1 * make sure zig cc works
2 - using it as a preprocessor (-E)2 - using it as a preprocessor (-E)
3 - @breakpoint(); // TODO the first arg is empty string right? skip past that.
4 - try building some software3 - try building some software
5 * support rpaths in ELF linker code4 * support rpaths in ELF linker code
6 * build & link against compiler-rt5 * build & link against compiler-rt
src-self-hosted/main.zig-1
...@@ -627,7 +627,6 @@ pub fn buildOutputType(...@@ -627,7 +627,6 @@ pub fn buildOutputType(
627 .rdynamic => rdynamic = true,627 .rdynamic => rdynamic = true,
628 .wl => {628 .wl => {
629 var split_it = mem.split(it.only_arg, ",");629 var split_it = mem.split(it.only_arg, ",");
630 @breakpoint(); // TODO the first arg is empty string right? skip past that.
631 while (split_it.next()) |linker_arg| {630 while (split_it.next()) |linker_arg| {
632 try linker_args.append(linker_arg);631 try linker_args.append(linker_arg);
633 }632 }