4 SHLIB_NAME= libgcc_s.so.1
10 LDFLAGS+= -nodefaultlibs
12 VERSION_MAP= ${.CURDIR}/Version.map
14 .include "../libcompiler_rt/Makefile.inc"
15 .include "../libgcc_eh/Makefile.inc"
17 # gcc has incompatible internal declarations for __divtc3 and __multc3, but has
18 # no option to silence its warning, so make warnings non-fatal.
21 LIBCSRCDIR= ${SRCTOP}/lib/libc
22 LIBMSRCDIR= ${SRCTOP}/lib/msun/src
23 CFLAGS+= -I${LIBCSRCDIR}/include -I${LIBCSRCDIR}/${MACHINE_CPUARCH}
24 CFLAGS+= -I${LIBMSRCDIR}
36 # Don't include long double routines on architectures where long double
37 # is the same size as double.
38 .if ${MACHINE_CPUARCH} != "mips" && ${MACHINE_CPUARCH} != "arm" && \
39 ${MACHINE_CPUARCH} != "powerpc"