Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/lib Do not build libtsan on sparc64



details:   https://anonhg.NetBSD.org/src/rev/37c044c56ffa
branches:  trunk
changeset: 938804:37c044c56ffa
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Sep 15 04:55:23 2020 +0000

description:
Do not build libtsan on sparc64

diffstat:

 external/gpl3/gcc/lib/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 544eee8a9aba -r 37c044c56ffa external/gpl3/gcc/lib/Makefile
--- a/external/gpl3/gcc/lib/Makefile    Tue Sep 15 04:54:41 2020 +0000
+++ b/external/gpl3/gcc/lib/Makefile    Tue Sep 15 04:55:23 2020 +0000
@@ -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+= .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



Home | Main Index | Thread Index | Old Index