summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/cbb-musl-pe.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/libc/cbb-musl-pe.h b/libc/cbb-musl-pe.h
index 44ba5da4f..009f43db5 100644
--- a/libc/cbb-musl-pe.h
+++ b/libc/cbb-musl-pe.h
@@ -73,16 +73,16 @@ extern "C" {
CPP_SPEC_NTAPI
#undef LIB_SPEC
-#define LIB_SPEC "%{shared:-lc} " \
- "%{pthread:-lpthread} " \
- "--no-as-needed -lc " \
- "--as-needed -lpsxscl " \
- "%{static:" \
- " --as-needed -lntapi" \
- " --as-needed -ldalist" \
- " --as-needed -lpemagine}"\
- "%{!shared:%{mldso|mvrfs:" \
- " --as-needed -lldso}}"
+#define LIB_SPEC "%{shared:-lc} " \
+ "%{pthread:-lpthread} " \
+ "--no-as-needed -lc " \
+ "--as-needed -lpsxscl " \
+ "%{static:" \
+ " --as-needed -lntapi" \
+ " --as-needed -ldalist" \
+ " --as-needed -lpemagine}" \
+ "%{!shared:%{mldso|mvrfs:" \
+ " --as-needed -lldso}}"
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "%R/lib/crti.o " \
@@ -93,12 +93,12 @@ extern "C" {
"%{!shared:%{!static:%{midata" \
":%R/lib/crtidata.o}}} " \
"%{!shared:%R/lib/%{static:S}crt1.o} " \
- "%{!shared:%{!mldso:%{!mvrfs:%{!midata" \
- ":%{!static:%R/lib/crtidata.o}}}}} " \
+ "%{!shared:%{!mldso:%{!mvrfs:%{!midata:" \
+ "%{!static:%R/lib/crtidata.o}}}}} " \
"%{shared:%R/lib/crte.o} " \
"%{static:crtbeginT.o%s;" \
"shared|pie:crtbeginS.o%s;" \
- ":crtbegin.o%s} "
+ ":crtbegin.o%s} "
#undef ENDFILE_SPEC
#define ENDFILE_SPEC "%{shared|pie:crtendS.o%s;:crtend.o%s} " \