de6feefdb7
- 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
10 lines
149 B
Makefile
10 lines
149 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.compiler.mk>
|
|
|
|
.if ${COMPILER_TYPE} == "clang"
|
|
DEBUG_FILES_CFLAGS= -gline-tables-only
|
|
.else
|
|
DEBUG_FILES_CFLAGS= -g1
|
|
.endif
|