Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb Improve CFLAGS definition for clang. Use m...
details: https://anonhg.NetBSD.org/src/rev/c86adccb55c2
branches: trunk
changeset: 358137:c86adccb55c2
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Dec 13 21:52:55 2017 +0000
description:
Improve CFLAGS definition for clang. Use more tabs.
diffstat:
external/gpl3/gdb/bin/gdb/Makefile | 12 +++++-------
external/gpl3/gdb/bin/gdbtui/Makefile | 12 +++++-------
external/gpl3/gdb/lib/libgdb/Makefile | 12 +++++-------
3 files changed, 15 insertions(+), 21 deletions(-)
diffs (78 lines):
diff -r 30f5a1f4b1b6 -r c86adccb55c2 external/gpl3/gdb/bin/gdb/Makefile
--- a/external/gpl3/gdb/bin/gdb/Makefile Wed Dec 13 21:37:10 2017 +0000
+++ b/external/gpl3/gdb/bin/gdb/Makefile Wed Dec 13 21:52:55 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2017/12/08 14:19:47 rin Exp $
+# $NetBSD: Makefile,v 1.15 2017/12/13 21:52:55 joerg Exp $
NOCTF=
.include <bsd.own.mk>
@@ -89,12 +89,10 @@
.include <bsd.prog.mk>
# Force c++
-HOST_CC:= ${HOST_CXX}
-CC:= ${CXX}
-CFLAGS:= ${CXXFLAGS} -std=gnu++11 -Wno-error=stack-protector
-.if ${ACTIVE_CC} == "clang"
-CFLAGS+= -Wno-deprecated
-.endif
+CWARNFLAGS.clang+= -Wno-deprecated
+HOST_CC:= ${HOST_CXX}
+CC:= ${CXX}
+CFLAGS:= ${CXXFLAGS} -std=gnu++11 -Wno-error=stack-protector
.PATH: ${DIST}/gdb ${DIST}/gdb/mi ${DIST}/gdb/cli ${DIST}/gdb/tui \
${DIST}/gdb/signals ${DIST}/gdb/doc ${.CURDIR}/../arch/${GDB_MACHINE_ARCH}
diff -r 30f5a1f4b1b6 -r c86adccb55c2 external/gpl3/gdb/bin/gdbtui/Makefile
--- a/external/gpl3/gdb/bin/gdbtui/Makefile Wed Dec 13 21:37:10 2017 +0000
+++ b/external/gpl3/gdb/bin/gdbtui/Makefile Wed Dec 13 21:52:55 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2017/12/08 14:19:47 rin Exp $
+# $NetBSD: Makefile,v 1.12 2017/12/13 21:52:55 joerg Exp $
NOCTF=
.include "../Makefile.inc"
@@ -26,12 +26,10 @@
.include <bsd.prog.mk>
# Force c++
-HOST_CC:= ${HOST_CXX}
-CC:= ${CXX}
-CFLAGS:= ${CXXFLAGS} -std=gnu++11 -Wno-error=stack-protector
-.if ${ACTIVE_CC} == "clang"
-CFLAGS+= -Wno-deprecated
-.endif
+CWARNFLAGS.clang+= -Wno-deprecated
+HOST_CC:= ${HOST_CXX}
+CC:= ${CXX}
+CFLAGS:= ${CXXFLAGS} -std=gnu++11 -Wno-error=stack-protector
LIBOPCODESDIR!= cd ${.CURDIR}/../../lib/libopcodes && ${PRINTOBJDIR}
LIBBFDDIR!= cd ${.CURDIR}/../../lib/libbfd && ${PRINTOBJDIR}
diff -r 30f5a1f4b1b6 -r c86adccb55c2 external/gpl3/gdb/lib/libgdb/Makefile
--- a/external/gpl3/gdb/lib/libgdb/Makefile Wed Dec 13 21:37:10 2017 +0000
+++ b/external/gpl3/gdb/lib/libgdb/Makefile Wed Dec 13 21:52:55 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2017/12/08 14:19:47 rin Exp $
+# $NetBSD: Makefile,v 1.19 2017/12/13 21:52:55 joerg Exp $
NOCTF=
HOSTPROG_CXX= 1
@@ -55,12 +55,10 @@
.include <bsd.lib.mk>
# Force c++
-HOST_CC:= ${HOST_CXX}
-CC:= ${CXX}
-CFLAGS:= ${CXXFLAGS} -std=gnu++11 -Wno-error=stack-protector
-.if ${ACTIVE_CC} == "clang"
-CFLAGS+= -Wno-deprecated
-.endif
+CWARNFLAGS.clang+= -Wno-deprecated
+HOST_CC:= ${HOST_CXX}
+CC:= ${CXX}
+CFLAGS:= ${CXXFLAGS} -std=gnu++11 -Wno-error=stack-protector
.PATH: ${DIST}/gdb ${DIST}/gdb/arch ${DIST}/gdb/mi ${DIST}/gdb/cli \
${DIST}/gdb/tui ${DIST}/gdb/python ${DIST}/gdb/common ${DIST}/gdb/target \
Home |
Main Index |
Thread Index |
Old Index