bsd.lib.mk (f993ed2fbd3c307200ed9a6351e649f0904b39c5) | bsd.lib.mk (982f1fc2d8ae42cec10044918d1ddf04271f8950) |
---|---|
1# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 2# $FreeBSD$ 3# 4 5.include <bsd.init.mk> 6.include <bsd.compiler.mk> 7.include <bsd.linker.mk> 8 --- 78 unchanged lines hidden (view full) --- 87 88.if ${MK_DEBUG_FILES} != "no" && empty(DEBUG_FLAGS:M-g) && \ 89 empty(DEBUG_FLAGS:M-gdwarf*) 90CFLAGS+= ${DEBUG_FILES_CFLAGS} 91CXXFLAGS+= ${DEBUG_FILES_CFLAGS} 92CTFFLAGS+= -g 93.endif 94 | 1# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 2# $FreeBSD$ 3# 4 5.include <bsd.init.mk> 6.include <bsd.compiler.mk> 7.include <bsd.linker.mk> 8 --- 78 unchanged lines hidden (view full) --- 87 88.if ${MK_DEBUG_FILES} != "no" && empty(DEBUG_FLAGS:M-g) && \ 89 empty(DEBUG_FLAGS:M-gdwarf*) 90CFLAGS+= ${DEBUG_FILES_CFLAGS} 91CXXFLAGS+= ${DEBUG_FILES_CFLAGS} 92CTFFLAGS+= -g 93.endif 94 |
95# clang currently defaults to dynamic TLS for mips64 object files without -fPIC 96.if ${MACHINE_ARCH:Mmips64*} && ${COMPILER_TYPE} == "clang" 97STATIC_CFLAGS+= -ftls-model=initial-exec 98STATIC_CXXFLAGS+= -ftls-model=initial-exec 99.endif 100 |
|
95.include <bsd.libnames.mk> 96 97# prefer .s to a .c, add .po, remove stuff not used in the BSD libraries 98# .pico used for PIC object files 99# .nossppico used for NOSSP PIC object files 100# .pieo used for PIE object files 101.SUFFIXES: .out .o .bc .ll .po .pico .nossppico .pieo .S .asm .s .c .cc .cpp .cxx .C .f .y .l .ln 102 --- 433 unchanged lines hidden --- | 101.include <bsd.libnames.mk> 102 103# prefer .s to a .c, add .po, remove stuff not used in the BSD libraries 104# .pico used for PIC object files 105# .nossppico used for NOSSP PIC object files 106# .pieo used for PIE object files 107.SUFFIXES: .out .o .bc .ll .po .pico .nossppico .pieo .S .asm .s .c .cc .cpp .cxx .C .f .y .l .ln 108 --- 433 unchanged lines hidden --- |