Makefile (229135) | Makefile (235487) |
---|---|
1# $FreeBSD: head/lib/libcompiler_rt/Makefile 229135 2011-12-31 19:01:48Z ed $ | 1# $FreeBSD: head/lib/libcompiler_rt/Makefile 235487 2012-05-15 22:47:34Z marius $ |
2 3.include <bsd.own.mk> 4 5LIB= compiler_rt 6NO_PIC= 7WARNS?= 2 8 9CFLAGS+=${PICFLAG} -fvisibility=hidden -DVISIBILITY_HIDDEN --- 161 unchanged lines hidden (view full) --- 171.for file in ${SRCF} 172. if ${MACHINE_CPUARCH} != "arm" && exists(${CRTSRC}/${CRTARCH}/${file}.S) 173SRCS+= ${file}.S 174. else 175SRCS+= ${file}.c 176. endif 177.endfor 178 | 2 3.include <bsd.own.mk> 4 5LIB= compiler_rt 6NO_PIC= 7WARNS?= 2 8 9CFLAGS+=${PICFLAG} -fvisibility=hidden -DVISIBILITY_HIDDEN --- 161 unchanged lines hidden (view full) --- 171.for file in ${SRCF} 172. if ${MACHINE_CPUARCH} != "arm" && exists(${CRTSRC}/${CRTARCH}/${file}.S) 173SRCS+= ${file}.S 174. else 175SRCS+= ${file}.c 176. endif 177.endfor 178 |
179.if ${MACHINE_CPUARCH} != "sparc64" && ${MACHINE_CPUARCH} != "mips" | 179.if ${MACHINE_CPUARCH} != "mips" |
180. if ${MK_INSTALLLIB} != "no" 181SYMLINKS+=libcompiler_rt.a ${LIBDIR}/libgcc.a 182. endif 183. if ${MK_PROFILE} != "no" 184SYMLINKS+=libcompiler_rt_p.a ${LIBDIR}/libgcc_p.a 185. endif 186.endif 187 188.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" || \ 189 ${MACHINE_CPUARCH} == "powerpc" 190AFLAGS+=--noexecstack 191ACFLAGS+=-Wa,--noexecstack 192.endif 193 194 195.include <bsd.lib.mk> | 180. if ${MK_INSTALLLIB} != "no" 181SYMLINKS+=libcompiler_rt.a ${LIBDIR}/libgcc.a 182. endif 183. if ${MK_PROFILE} != "no" 184SYMLINKS+=libcompiler_rt_p.a ${LIBDIR}/libgcc_p.a 185. endif 186.endif 187 188.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" || \ 189 ${MACHINE_CPUARCH} == "powerpc" 190AFLAGS+=--noexecstack 191ACFLAGS+=-Wa,--noexecstack 192.endif 193 194 195.include <bsd.lib.mk> |