diff options
-rw-r--r-- | lib/libc/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 5c7848f..4c2e868 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -20,6 +20,11 @@ CLEANFILES+=tags INSTALL_PIC_ARCHIVE= PRECIOUSLIB= +# +# Only link with static libgcc.a (no libgcc_eh.a). +# +LDFLAGS+= -nodefaultlibs -lgcc + # Define (empty) variables so that make doesn't give substitution # errors if the included makefiles don't change these: MDSRCS= |