diff options
author | 2019-02-03 10:58:51 +0000 | |
---|---|---|
committer | 2019-02-03 10:58:51 +0000 | |
commit | c41306a7e77e97c9770d118f99283df33663ebaf (patch) | |
tree | dfaf32afb7de664b4db9a9d649219ca21d80ea4c | |
parent | Always refault if relocking maps fails after IO. This fixes a regression (diff) | |
download | wireguard-openbsd-c41306a7e77e97c9770d118f99283df33663ebaf.tar.xz wireguard-openbsd-c41306a7e77e97c9770d118f99283df33663ebaf.zip |
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.
-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} |