Module Name:    src
Committed By:   mrg
Date:           Thu Mar 17 00:09:47 UTC 2016

Modified Files:
        src/lib: Makefile

Log Message:
don't build libmudflap* for GCC 5.3.

also, disable libasan here as well (for now).


To generate a diff of this commit:
cvs rdiff -u -r1.240 -r1.241 src/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/lib/Makefile
diff -u src/lib/Makefile:1.240 src/lib/Makefile:1.241
--- src/lib/Makefile:1.240	Mon Feb 29 20:59:35 2016
+++ src/lib/Makefile	Thu Mar 17 00:09:47 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.240 2016/02/29 20:59:35 riastradh Exp $
+#	$NetBSD: Makefile,v 1.241 2016/03/17 00:09:47 mrg Exp $
 #	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91
 
 .include <bsd.own.mk>
@@ -80,8 +80,10 @@ SUBDIR+=	../external/gpl2/libmalloc
 .if (${MKGCC} != "no")
 SUBDIR+=	../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libobjc
 SUBDIR+=	../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libgomp
+. if ${HAVE_GCC} == 48
 SUBDIR+=	../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libmudflap
 SUBDIR+=	../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libmudflapth
+. endif
 # Should probably move GMP, MPFR and MPC builds into the GCC >= 4.5
 # specific build area, but we get better parallelism this way.
 # We don't build compat versions of these.
@@ -171,9 +173,11 @@ SUBDIR+=	../external/gpl3/${EXTERNAL_GCC
 SUBDIR+=	.WAIT
 
 SANITIZER_DIR=../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libasan
+.if !defined(HAVE_GCC) || ${HAVE_GCC} != 53
 .if exists(${SANITIZER_DIR})
 SUBDIR+=	${SANITIZER_DIR}
 .endif
+.endif
 
 SUBDIR+=	../external/bsd/libarchive/lib	# depends on libxz
 

Reply via email to