Makefile (172401) | Makefile (180012) |
---|---|
1# @(#)Makefile 8.2 (Berkeley) 2/3/94 | 1# @(#)Makefile 8.2 (Berkeley) 2/3/94 |
2# $FreeBSD: head/lib/libc/Makefile 172401 2007-10-01 18:15:11Z ru $ | 2# $FreeBSD: head/lib/libc/Makefile 180012 2008-06-25 21:33:28Z ru $ |
3 4SHLIBDIR?= /lib 5 6.include <bsd.own.mk> 7 8# All library objects contain FreeBSD revision strings by default; they may be 9# excluded as a space-saving measure. To produce a library that does 10# not contain these strings, add -DSTRIP_FBSDID (see <sys/cdefs.h>) to CFLAGS --- 106 unchanged lines hidden (view full) --- 117.if defined(KMSRCS) && !empty(KMSRCS) 118 cp -p ${.ALLSRC} ${DESTDIR}/sys/libkern/${MACHINE_ARCH} 119.endif 120 121.include <bsd.lib.mk> 122 123# Disable warnings in contributed sources. 124CWARNFLAGS:= ${.IMPSRC:Ngdtoa_*.c:C/^.+$/${CWARNFLAGS}/} | 3 4SHLIBDIR?= /lib 5 6.include <bsd.own.mk> 7 8# All library objects contain FreeBSD revision strings by default; they may be 9# excluded as a space-saving measure. To produce a library that does 10# not contain these strings, add -DSTRIP_FBSDID (see <sys/cdefs.h>) to CFLAGS --- 106 unchanged lines hidden (view full) --- 117.if defined(KMSRCS) && !empty(KMSRCS) 118 cp -p ${.ALLSRC} ${DESTDIR}/sys/libkern/${MACHINE_ARCH} 119.endif 120 121.include <bsd.lib.mk> 122 123# Disable warnings in contributed sources. 124CWARNFLAGS:= ${.IMPSRC:Ngdtoa_*.c:C/^.+$/${CWARNFLAGS}/} |
125# XXX For now, we don't allow libc to be compiled with 126# -fstack-protector-all because it breaks rtld. We may want to make a librtld 127# in the future to circumvent this. 128SSP_CFLAGS:= ${SSP_CFLAGS:S/^-fstack-protector-all$/-fstack-protector/} 129# Disable stack protection for SSP symbols. 130SSP_CFLAGS:= ${.IMPSRC:N*/stack_protector.c:C/^.+$/${SSP_CFLAGS}/} |
|