[build] Remove unneeded lib options

Remove the `-lc++`, `-lc++abi`, and `-lunwind` options from the user
target, where they should be handled automatically. (ie, we're not using
`-nostdlib` or its bretheren.)
This commit is contained in:
Justin C. Miller
2023-08-06 10:46:45 -07:00
parent ce27749705
commit 77590b31a6
2 changed files with 1 additions and 1 deletions

View File

@@ -6,4 +6,5 @@ ccflags: [
ldflags: [ ldflags: [
"-pie", "-pie",
"--dynamic-linker", "/tools/ld.so", "--dynamic-linker", "/tools/ld.so",
"-lc++", "-lc++abi", "-lunwind",
] ]

View File

@@ -31,7 +31,6 @@ ldflags: [
"--no-eh-frame-hdr", "--no-eh-frame-hdr",
"-L", "${source_root}/sysroot/lib", "-L", "${source_root}/sysroot/lib",
"-z", "separate-code", "-z", "separate-code",
"-lc++", "-lc++abi", "-lunwind",
"--no-dependent-libraries", "--no-dependent-libraries",
] ]