summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-10-19 19:51:51 -0400
committermidipix <writeonce@midipix.org>2017-10-19 19:55:27 -0400
commitdf13ca6164c506db4b64fe13a2510bd0fe28b353 (patch)
tree74a92aef556582409c73c23dfa097a24eaba2d06 /libc
parent69cade0eb951106e88d9fab0f6c8427c12c25201 (diff)
downloadcbb-gcc-4.6.4-df13ca6164c506db4b64fe13a2510bd0fe28b353.tar.bz2
cbb-gcc-4.6.4-df13ca6164c506db4b64fe13a2510bd0fe28b353.tar.xz
midipix target: static exe's now set the application type (default/standalone).
Diffstat (limited to 'libc')
-rw-r--r--libc/cbb-musl-pe.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/cbb-musl-pe.h b/libc/cbb-musl-pe.h
index b2ee0ce8e..349372ce0 100644
--- a/libc/cbb-musl-pe.h
+++ b/libc/cbb-musl-pe.h
@@ -88,10 +88,10 @@ extern "C" {
#define STARTFILE_SPEC "%R/lib/crti.o " \
"%{!shared:%{mposix:%R/lib/crtposix.o}} " \
"%{!shared:%{mdinga:%R/lib/crtdinga.o}} " \
- "%{!shared:%{!static:%{mldso:" \
- "%R/lib/crtldso.o}}} " \
- "%{!shared:%{!static:%{mvrfs:" \
- "%R/lib/crtvrfs.o}}} " \
+ "%{!shared:%{mldso:" \
+ "%R/lib/%{static:S}crtldso.o}} " \
+ "%{!shared:%{mvrfs:" \
+ "%R/lib/%{static:S}crtvrfs.o}} " \
"%{!shared:%{!static:%{midata:" \
"%R/lib/crtidata.o}}} " \
"%{!shared:%R/lib/%{static:S}crt1.o} " \