Changeset View
Changeset View
Standalone View
Standalone View
head/share/mk/bsd.lib.mk
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | |||||
.if defined(NO_ROOT) | .if defined(NO_ROOT) | ||||
.if !defined(TAGS) || ! ${TAGS:Mpackage=*} | .if !defined(TAGS) || ! ${TAGS:Mpackage=*} | ||||
TAGS+= package=${PACKAGE:Uruntime} | TAGS+= package=${PACKAGE:Uruntime} | ||||
.endif | .endif | ||||
TAG_ARGS= -T ${TAGS:[*]:S/ /,/g} | TAG_ARGS= -T ${TAGS:[*]:S/ /,/g} | ||||
.endif | .endif | ||||
.if ${MK_RETPOLINE} != "no" | |||||
CFLAGS+= -mretpoline | |||||
CXXFLAGS+= -mretpoline | |||||
LDFLAGS+= -Wl,-zretpolineplt | |||||
.endif | |||||
.if ${MK_DEBUG_FILES} != "no" && empty(DEBUG_FLAGS:M-g) && \ | .if ${MK_DEBUG_FILES} != "no" && empty(DEBUG_FLAGS:M-g) && \ | ||||
empty(DEBUG_FLAGS:M-gdwarf*) | empty(DEBUG_FLAGS:M-gdwarf*) | ||||
CFLAGS+= ${DEBUG_FILES_CFLAGS} | CFLAGS+= ${DEBUG_FILES_CFLAGS} | ||||
CXXFLAGS+= ${DEBUG_FILES_CFLAGS} | CXXFLAGS+= ${DEBUG_FILES_CFLAGS} | ||||
CTFFLAGS+= -g | CTFFLAGS+= -g | ||||
.endif | .endif | ||||
.include <bsd.libnames.mk> | .include <bsd.libnames.mk> | ||||
▲ Show 20 Lines • Show All 406 Lines • Show Last 20 Lines |