054937d661
- Include debug symbols in static libraries. This permits binaries to include debug symbols for functions obtained from static libraries. - Permit the C/C++ compiler flags added for MK_DEBUG_FILES to be overridden by setting DEBUG_FILES_CFLAGS. Use this to limit the debug information for llvm libraries and binaries. Reviewed by: emaste Sponsored by: DARPA / AFRL Differential Revision: https://reviews.freebsd.org/D12025
14 lines
189 B
Makefile
14 lines
189 B
Makefile
# $FreeBSD$
|
|
|
|
WARNS?= 0
|
|
|
|
.include <bsd.compiler.mk>
|
|
|
|
.if ${COMPILER_TYPE} == "clang"
|
|
DEBUG_FILES_CFLAGS= -gline-tables-only
|
|
.else
|
|
DEBUG_FILES_CFLAGS= -g1
|
|
.endif
|
|
|
|
.include "../Makefile.inc"
|