diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2019-02-03 10:58:52 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2019-02-03 10:58:52 +0000 |
commit | f5bb41ae112a156756ad002d5c89c53df6adeb6d (patch) | |
tree | 0082df654f9ffed098f66c083bcffd76d1fcbd5b /sys | |
parent | c6c0fd02e4054cf78c884f2db60025df1a1c983b (diff) |
enable -msave-args when building with clang.
this allows us to provide actual arguments in functions in ddb traces.
deraadt@ helped me figure out that a new clang has been in snaps
for days now, so it's easy for people to get a new compiler if
they're building current.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/conf/Makefile.amd64 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64 index eb4a5f10f7c..6ed2573a362 100644 --- a/sys/arch/amd64/conf/Makefile.amd64 +++ b/sys/arch/amd64/conf/Makefile.amd64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.amd64,v 1.109 2019/01/20 09:57:23 anton Exp $ +# $OpenBSD: Makefile.amd64,v 1.110 2019/02/03 10:58:51 dlg Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -34,7 +34,7 @@ SORTR= sort -R .if ${IDENT:M-DNO_PROPOLICE} CMACHFLAGS+= -fno-stack-protector .endif -.if ${IDENT:M-DDDB} && !${COMPILER_VERSION:Mclang} +.if ${IDENT:M-DDDB} CMACHFLAGS+= -msave-args .endif .if ${IDENT:M-DSMALL_KERNEL} |