4 SHLIB_NAME= libgcc_s.so.1
12 LDFLAGS+= -nodefaultlibs
15 .if ${MK_SYMVER} == "yes"
16 VERSION_DEF= ${.CURDIR}/Versions.def
17 SYMBOL_MAPS= ${.CURDIR}/Symbol.map
18 # Export ARM AEABI unwind routines needed by libc and libthr.
19 .if exists(${.CURDIR}/${MACHINE_CPUARCH}/Symbol.map)
20 SYMBOL_MAPS+= ${.CURDIR}/${MACHINE_CPUARCH}/Symbol.map
22 SYMBOL_MAPS+= ${.CURDIR}/SymbolDefault.map
26 .include "../libcompiler_rt/Makefile.inc"
27 .include "../libgcc_eh/Makefile.inc"
29 # gcc has incompatible internal declarations for __divtc3 and __multc3, but has
30 # no option to silence its warning, so make warnings non-fatal.
33 LIBCSRCDIR= ${SRCTOP}/lib/libc
34 LIBMSRCDIR= ${SRCTOP}/lib/msun/src
35 CFLAGS+= -I${LIBCSRCDIR}/include -I${LIBCSRCDIR}/${MACHINE_CPUARCH}
36 CFLAGS+= -I${LIBMSRCDIR}
48 # Don't include long double routines on architectures where long double
49 # is the same size as double.
50 .if ${MACHINE_CPUARCH} != "mips" && ${MACHINE_CPUARCH} != "arm" && \
51 ${MACHINE_CPUARCH} != "powerpc"