Module Name: src
Committed By: martin
Date: Tue Sep 15 04:55:23 UTC 2020
Modified Files:
src/external/gpl3/gcc/lib: Makefile
Log Message:
Do not build libtsan on sparc64
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/gcc/lib/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/lib/Makefile
diff -u src/external/gpl3/gcc/lib/Makefile:1.19 src/external/gpl3/gcc/lib/Makefile:1.20
--- src/external/gpl3/gcc/lib/Makefile:1.19 Sun Sep 13 02:37:32 2020
+++ src/external/gpl3/gcc/lib/Makefile Tue Sep 15 04:55:23 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2020/09/13 02:37:32 kamil Exp $
+# $NetBSD: Makefile,v 1.20 2020/09/15 04:55:23 martin Exp $
.include <bsd.own.mk>
@@ -13,8 +13,10 @@ SUBDIR+= libsupc++ libstdc++-v3
SUBDIR+= .WAIT libasan liblsan libubsan
-# TSan does not work with 32bit address space
-.if (!empty(MACHINE_ARCH:M*64*) || ${MACHINE_ARCH} == alpha)
+# TSan does not work with 32bit address space and has not been porter
+# to all architectures
+.if (!empty(MACHINE_ARCH:M*64*) || ${MACHINE_ARCH} == alpha) && \
+ ${MACHINE_ARCH} != "sparc64"
SUBDIR+= libtsan
.endif
.endif