diff options
author | 2017-01-27 13:30:39 +0000 | |
---|---|---|
committer | 2017-01-27 13:30:39 +0000 | |
commit | cc65dc7ef99ad47548edc4927fcebe3b249e7730 (patch) | |
tree | 06e6f76b95727ca019714df3866476a2be59ef0f | |
parent | warn about missing one-line description; (diff) | |
download | wireguard-openbsd-cc65dc7ef99ad47548edc4927fcebe3b249e7730.tar.xz wireguard-openbsd-cc65dc7ef99ad47548edc4927fcebe3b249e7730.zip |
install libcxxabi and libcxx headers when COMPILER_VERSION is clang
ok patrick@
-rw-r--r-- | include/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/Makefile b/include/Makefile index 4a23488b3bd..a2e53761e5e 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.216 2016/11/12 03:04:27 jca Exp $ +# $OpenBSD: Makefile,v 1.217 2017/01/27 13:30:39 jsg Exp $ # $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $ # @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91 @@ -45,9 +45,11 @@ RDIRS= ../lib/libcurses ../lib/libedit \ .if ${COMPILER_VERSION:L} == "gcc3" RDIRS+= ../gnu/usr.bin/gcc ../gnu/lib/libobjc PRDIRS+= ../gnu/lib/libstdc++ -.else +.elif ${COMPILER_VERSION:L} == "gcc4" RDIRS+= ../gnu/usr.bin/cc/libobjc PRDIRS+= ../gnu/lib/libstdc++-v3 ../gnu/usr.bin/cc/include +.elif ${COMPILER_VERSION:L} == "clang" +RDIRS+= ../lib/libcxxabi ../lib/libcxx .endif # prereq implies includes |