diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2017-01-22 07:16:37 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2017-01-22 07:16:37 +0000 |
commit | 39e60400fbfaa41575409c03e912ef8375596786 (patch) | |
tree | e29065b3904a1eb9436f359520d9c17062531b76 /gnu/usr.bin | |
parent | ab7cc6bb8cd62f27d4f9747df0102deb2a2cd5a6 (diff) |
Always provide clang as cc, c++ and cpp, and lld as ld.
Per discussion with deraadt@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/clang/clang/Makefile | 15 | ||||
-rw-r--r-- | gnu/usr.bin/clang/lld/Makefile | 4 |
2 files changed, 7 insertions, 12 deletions
diff --git a/gnu/usr.bin/clang/clang/Makefile b/gnu/usr.bin/clang/clang/Makefile index a39570a1371..6d9b01d9907 100644 --- a/gnu/usr.bin/clang/clang/Makefile +++ b/gnu/usr.bin/clang/clang/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2017/01/22 06:07:21 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2017/01/22 07:16:36 patrick Exp $ .include <bsd.own.mk> @@ -13,18 +13,15 @@ LDADD+= -ltermlib DPADD+= ${LIBTERMLIB} LINKS= ${BINDIR}/clang ${BINDIR}/clang++ \ - ${BINDIR}/clang ${BINDIR}/clang-cpp -MLINKS= clang.1 clang++.1 \ - clang.1 clang-cpp.1 - -.if ${COMPILER_VERSION:L} == "clang" -LINKS+= ${BINDIR}/clang ${BINDIR}/cc \ + ${BINDIR}/clang ${BINDIR}/clang-cpp \ + ${BINDIR}/clang ${BINDIR}/cc \ ${BINDIR}/clang ${BINDIR}/c++ \ ${BINDIR}/clang ${LIBEXECDIR}/cpp -MLINKS= clang.1 cc.1 \ +MLINKS= clang.1 clang++.1 \ + clang.1 clang-cpp.1 \ + clang.1 cc.1 \ clang.1 c++.1 \ clang.1 cpp.1 -.endif CPPFLAGS+= -I${.CURDIR}/../../../llvm/tools/clang/include diff --git a/gnu/usr.bin/clang/lld/Makefile b/gnu/usr.bin/clang/lld/Makefile index b4373f06145..f7bca06e5b3 100644 --- a/gnu/usr.bin/clang/lld/Makefile +++ b/gnu/usr.bin/clang/lld/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2017/01/22 06:07:21 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2017/01/22 07:16:36 patrick Exp $ .include <bsd.own.mk> @@ -10,9 +10,7 @@ NOMAN= LDADD+= -ltermlib DPADD+= ${LIBTERMLIB} -.if ${COMPILER_VERSION:L} == "clang" LINKS= ${BINDIR}/ld.lld ${BINDIR}/ld -.endif CPPFLAGS+= ${CLANG_INCLUDES} CPPFLAGS+= -I${.CURDIR}/../../../llvm/tools/lld/include |