diff options
author | 2017-01-29 03:48:08 +0000 | |
---|---|---|
committer | 2017-01-29 03:48:08 +0000 | |
commit | 64fc643670042e8308ed297eadd801c287d69b83 (patch) | |
tree | 2069d6f8a53f2640b1fa91d126580687d0b4f37b | |
parent | Add a warning "new sentence, new line". (diff) | |
download | wireguard-openbsd-64fc643670042e8308ed297eadd801c287d69b83.tar.xz wireguard-openbsd-64fc643670042e8308ed297eadd801c287d69b83.zip |
descend into clang when building obj or when COMPILER_VERSION is clang
ok patrick@ kettenis@
-rw-r--r-- | gnu/usr.bin/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile index a887a9b88cf..1cc0484052b 100644 --- a/gnu/usr.bin/Makefile +++ b/gnu/usr.bin/Makefile @@ -1,15 +1,17 @@ -# $OpenBSD: Makefile,v 1.56 2015/06/01 17:36:19 miod Exp $ +# $OpenBSD: Makefile,v 1.57 2017/01/29 03:48:08 jsg Exp $ # $NetBSD: Makefile,v 1.35 1996/04/03 21:20:52 chuck Exp $ .include <bsd.own.mk> .if make(obj) -SUBDIR+= cc gcc +SUBDIR+= cc clang gcc .else . if ${COMPILER_VERSION:L} == "gcc3" SUBDIR+= gcc -. else +. elif ${COMPILER_VERSION:L} == "gcc4" SUBDIR+= cc +. elif ${COMPILER_VERSION:L} == "clang" +SUBDIR+= clang . endif .endif |