Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/binutils.old/lib/libbfd workaround a problem i...



details:   https://anonhg.NetBSD.org/src/rev/7712de6ee57a
branches:  trunk
changeset: 814473:7712de6ee57a
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Mar 23 05:24:54 2016 +0000

description:
workaround a problem in old binutils and GCC 5.3.

diffstat:

 external/gpl3/binutils.old/lib/libbfd/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 7fef2e0ca3a3 -r 7712de6ee57a external/gpl3/binutils.old/lib/libbfd/Makefile
--- a/external/gpl3/binutils.old/lib/libbfd/Makefile    Wed Mar 23 05:24:11 2016 +0000
+++ b/external/gpl3/binutils.old/lib/libbfd/Makefile    Wed Mar 23 05:24:54 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2016/01/26 19:38:09 christos Exp $
+#      $NetBSD: Makefile,v 1.3 2016/03/23 05:24:54 mrg Exp $
 
 NOLINKLIB=     # defined
 NOLINT=                # defined
@@ -60,6 +60,13 @@
 
 ${OBJS} ${SOBJS}: elf32-target.h elf64-target.h
 targets.o targets.pico: targmatch.h Makefile
+
+# XXXGCC5
+.include <bsd.own.mk>
+.if defined(HAVE_GCC) && ${HAVE_GCC} == 53 && ${ACTIVE_CC} == "gcc"
+COPTS.elf64-alpha.c+=  -Wno-error=switch-bool
+.endif
+
 .else
 .include <bsd.prog.mk> # do nothing
 .endif



Home | Main Index | Thread Index | Old Index