diff options
| author | nakayama <nakayama@NetBSD.org> | 2019-05-10 09:42:46 +0000 |
|---|---|---|
| committer | nakayama <nakayama@NetBSD.org> | 2019-05-10 09:42:46 +0000 |
| commit | ce85aeb3388f381203293e669adb5efb304431d1 (patch) | |
| tree | f24349de11f77746eef242ad38f77e77c7544fe8 /lib/Makefile | |
| parent | cae8d0b7ed7ced1ee3d2d35579b583da097502f5 (diff) | |
Don't build compat LLVM PIC libraries since it is unused if MKCOMPATX11 == "no".
Diffstat (limited to 'lib/Makefile')
| -rw-r--r-- | lib/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Makefile b/lib/Makefile index 484c3547ca3..2513a368a05 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.270 2019/04/03 15:22:05 joerg Exp $ +# $NetBSD: Makefile,v 1.271 2019/05/10 09:42:46 nakayama Exp $ # from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91 .include <bsd.own.mk> @@ -170,7 +170,7 @@ SUBDIR+= ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libstdc++-v3 SUBDIR+= ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libsupc++ .endif -.if (${MKLLVMRT} != "no") +.if (${MKLLVMRT} != "no" && (!defined(MLIBDIR) || ${MKCOMPATX11} != "no")) SUBDIR+= ../external/bsd/llvm/include .endif @@ -183,7 +183,7 @@ SUBDIR+= ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/lib${sanitizer} .endif .endfor -.if (${MKLLVMRT} != "no") +.if (${MKLLVMRT} != "no" && (!defined(MLIBDIR) || ${MKCOMPATX11} != "no")) SUBDIR+= ../external/bsd/llvm/librt .endif |
