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/71cf6162dd8f
branches:  trunk
changeset: 814354:71cf6162dd8f
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 5a80443bfa5e -r 71cf6162dd8f 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