diff options
author | midipix <writeonce@midipix.org> | 2016-06-28 03:08:11 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-06-28 03:08:11 -0400 |
commit | d2f54ca2ffb7e3d71e338ae980bda2a038adcfe0 (patch) | |
tree | fe8e1c70ba9add0e0099932418a7a98c87a4d42e /libc | |
parent | 837022c5cdb3d4c9a2f4e99d12e5ad77f59888dc (diff) | |
download | cbb-gcc-4.6.4-d2f54ca2ffb7e3d71e338ae980bda2a038adcfe0.tar.bz2 cbb-gcc-4.6.4-d2f54ca2ffb7e3d71e338ae980bda2a038adcfe0.tar.xz |
midipix targets: explicitly link --as-needed all runtime components.
Diffstat (limited to 'libc')
-rw-r--r-- | libc/cbb-musl-pe.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libc/cbb-musl-pe.h b/libc/cbb-musl-pe.h index 17716651f..57efa2403 100644 --- a/libc/cbb-musl-pe.h +++ b/libc/cbb-musl-pe.h @@ -83,10 +83,14 @@ extern "C" { CPP_SPEC_NTAPI #undef LIB_SPEC -#define LIB_SPEC "%{shared:-lc} " \ - "%{pthread:-lpthread} " \ - "--no-as-needed -lc " \ - "--as-needed -lpsxscl " +#define LIB_SPEC "%{shared:-lc} " \ + "%{pthread:-lpthread} " \ + "--no-as-needed -lc " \ + "--as-needed -lpsxscl " \ + "%{static:" \ + " --as-needed -lntapi" \ + " --as-needed -ldalist" \ + " --as-needed -lpemagine}" #undef STARTFILE_SPEC #define STARTFILE_SPEC "%R/lib/crti.o " \ |