diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 4c2e868..4f107ee 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -23,7 +23,8 @@ PRECIOUSLIB= # # Only link with static libgcc.a (no libgcc_eh.a). # -LDFLAGS+= -nodefaultlibs -lgcc +LDFLAGS+= -nodefaultlibs +LDADD+= -lgcc # Define (empty) variables so that make doesn't give substitution # errors if the included makefiles don't change these: |