aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/clang/clang
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2023-08-01 12:48:02 +0000
committerEd Maste <emaste@FreeBSD.org>2023-08-02 00:13:22 +0000
commit77f6be448408eda1a31b1c98576e6c6bebf6ea6e (patch)
tree067c1a7100ae9b6b24559fc70276da641aee01ec /usr.bin/clang/clang
parent83453b46e8c2cec2d22a7eef029020d353be6007 (diff)
downloadsrc-77f6be448408eda1a31b1c98576e6c6bebf6ea6e.tar.gz
src-77f6be448408eda1a31b1c98576e6c6bebf6ea6e.zip
retire SHARED_TOOLCHAIN knob
Toolchain components were historically statically linked. They became normal dynamically linked executables in commit 6ab18ea64d19. There is no need to keep a special case build option for the toolchain; users who want statically linked toolchain (or any other) components can use the existing NO_SHARED knob. Reviewed by: dim, sjg Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D41266
Diffstat (limited to 'usr.bin/clang/clang')
-rw-r--r--usr.bin/clang/clang/Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/usr.bin/clang/clang/Makefile b/usr.bin/clang/clang/Makefile
index 4b1e3735939a..97e6e1fb6996 100644
--- a/usr.bin/clang/clang/Makefile
+++ b/usr.bin/clang/clang/Makefile
@@ -12,11 +12,6 @@ SRCS+= driver.cpp
CFLAGS.driver.cpp+= -Dclang_main=main
-.if ${MK_SHARED_TOOLCHAIN} == "no"
-NO_SHARED?= yes
-
-.endif
-
LINKS= ${BINDIR}/clang ${BINDIR}/clang++ \
${BINDIR}/clang ${BINDIR}/clang-cpp
MLINKS= clang.1 clang++.1 \