Source-Changes-HG archive

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

[src/trunk]: src/lib don't build libmudflap* for GCC 5.3.



details:   https://anonhg.NetBSD.org/src/rev/35affd3ba809
branches:  trunk
changeset: 344212:35affd3ba809
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Mar 17 00:09:47 2016 +0000

description:
don't build libmudflap* for GCC 5.3.

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

diffstat:

 lib/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 98c947d7c3f1 -r 35affd3ba809 lib/Makefile
--- a/lib/Makefile      Thu Mar 17 00:03:38 2016 +0000
+++ b/lib/Makefile      Thu Mar 17 00:09:47 2016 +0000
@@ -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 @@
 .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+=       .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
 



Home | Main Index | Thread Index | Old Index