2016-09-02 20:07:05 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
WARNS?= 0
|
|
|
|
|
2017-08-23 23:30:25 +00:00
|
|
|
.include <bsd.compiler.mk>
|
|
|
|
|
2019-02-15 22:22:38 +00:00
|
|
|
MK_PIE:= no # Explicit libXXX.a references
|
|
|
|
|
2017-08-23 23:30:25 +00:00
|
|
|
.if ${COMPILER_TYPE} == "clang"
|
|
|
|
DEBUG_FILES_CFLAGS= -gline-tables-only
|
|
|
|
.else
|
|
|
|
DEBUG_FILES_CFLAGS= -g1
|
|
|
|
.endif
|
|
|
|
|
2019-10-02 17:15:38 +00:00
|
|
|
.if ${MACHINE_ARCH:Mmips*} && ${MACHINE_ARCH:Mmips64*} == ""
|
|
|
|
CFLAGS+= -mxgot
|
|
|
|
CXXFLAGS+= -mxgot
|
|
|
|
.endif
|
|
|
|
|
2016-09-02 20:07:05 +00:00
|
|
|
.include "../Makefile.inc"
|