WARNS=1
This commit is contained in:
parent
a56964c222
commit
d5fc259be3
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.inc,v 1.3 2014/06/01 19:51:01 mrg Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.4 2016/04/20 17:18:52 christos Exp $
|
||||
|
||||
GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5/earm/}
|
||||
|
||||
|
@ -9,4 +9,6 @@ _EXTERNAL_GPL3_GCC_LIB_MAKEFILE_INC_=1
|
|||
.sinclude "../../../Makefile.gcc_path"
|
||||
.sinclude "../../../../Makefile.gcc_path"
|
||||
|
||||
WARNS=1
|
||||
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.15 2016/03/15 06:12:30 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.16 2016/04/20 17:18:52 christos Exp $
|
||||
|
||||
# build GCC's libgomp, so that -fopenmp works.
|
||||
|
||||
|
@ -86,6 +86,7 @@ libinstall::
|
|||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
COPTS+= -Wno-stack-protector
|
||||
COPTS+= -Wno-stack-protector -Wno-missing-prototypes
|
||||
COPTS.oacc-mem.c+= -Wno-pointer-arith
|
||||
|
||||
.PATH: ${ARCHDIR} ${DIST}/libgomp ${DIST}/libgomp/config/posix
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.7 2014/06/01 19:51:01 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2016/04/20 17:18:52 christos Exp $
|
||||
|
||||
LIBISPRIVATE= yes
|
||||
|
||||
|
@ -19,10 +19,11 @@ SRCS= ${G_REQUIRED_OFILES:.o=.c} ${G_EXTRA_OFILES:.o=.c} \
|
|||
CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/arch/${GCC_MACHINE_ARCH} \
|
||||
-I${DIST}/include
|
||||
|
||||
COPTS.argv.c = -Wno-stack-protector
|
||||
COPTS.cp-demangle.c = -Wno-stack-protector
|
||||
COPTS.make-relative-prefix.c = -Wno-stack-protector
|
||||
COPTS.regex.c = -Wno-stack-protector
|
||||
COPTS.argv.c += -Wno-stack-protector
|
||||
COPTS.cp-demangle.c += -Wno-stack-protector
|
||||
COPTS.make-relative-prefix.c += -Wno-stack-protector
|
||||
COPTS.regex.c += -Wno-stack-protector
|
||||
COPTS += -Wno-missing-prototypes
|
||||
|
||||
CWARNFLAGS.clang+= -Wno-unused-value
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2015/01/07 02:06:23 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2016/04/20 17:18:52 christos Exp $
|
||||
|
||||
.include <bsd.init.mk>
|
||||
.include <bsd.shlib.mk>
|
||||
|
@ -54,6 +54,7 @@ config.h: Makefile
|
|||
.include <bsd.lib.mk>
|
||||
|
||||
.PATH: ${DIST}/lto-plugin ${DIST}/libiberty
|
||||
COPTS.lto-plugin.c+= -Wno-missing-prototypes
|
||||
|
||||
.else
|
||||
.include <bsd.prog.mk> # do nothing
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.14 2016/03/16 05:44:16 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2016/04/20 17:18:52 christos Exp $
|
||||
|
||||
REQUIRETOOLS= yes
|
||||
NOLINT= # defined
|
||||
|
@ -125,3 +125,5 @@ CPPFLAGS+= -I${BINBACKENDOBJ}
|
|||
|
||||
COPTS.archive.c+= -Wno-error
|
||||
COPTS.sendmsg.c+= -Wno-error
|
||||
COPTS.encoding.c+= -Wno-pointer-arith # sizeof(void)
|
||||
COPTS+= -Wno-missing-prototypes
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.23 2016/03/17 00:55:54 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.24 2016/04/20 17:18:52 christos Exp $
|
||||
|
||||
REQUIRETOOLS= yes
|
||||
NOLINT= # defined
|
||||
|
@ -47,20 +47,20 @@ CONF= ${DIST}/libstdc++-v3/config
|
|||
GLIBCPP_INCLUDE_DIR= ${DESTDIR}/usr/include/g++
|
||||
|
||||
# Template instantiation bug workaround for -O<2/s
|
||||
COPTS.cp-demangle.c = -Wno-stack-protector
|
||||
COPTS.cp-demangle.c = -Wno-stack-protector
|
||||
COPTS.fstream-inst.cc = -Wno-stack-protector
|
||||
COPTS.locale-inst.cc = -Wno-stack-protector
|
||||
COPTS.misc-inst.cc = -Wno-stack-protector
|
||||
COPTS.ostream-inst.cc = -Wno-stack-protector
|
||||
COPTS.functexcept.cc = -Wno-stack-protector
|
||||
COPTS.valarray-inst.cc = -Wno-stack-protector
|
||||
COPTS.wlocale-inst.cc = -Wno-stack-protector
|
||||
COPTS.snprintf_lite.cc = -Wno-stack-protector
|
||||
COPTS.concept-inst.cc= -fimplicit-templates
|
||||
COPTS.hashtable_c++0x.cc= -fimplicit-templates
|
||||
COPTS.bitmap_allocator.cc = -fimplicit-templates
|
||||
CPPFLAGS.strstream.cc= -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated
|
||||
COPTS.cp-demangle.c += -Wno-stack-protector
|
||||
COPTS.cp-demangle.c += -Wno-stack-protector
|
||||
COPTS.fstream-inst.cc += -Wno-stack-protector
|
||||
COPTS.locale-inst.cc += -Wno-stack-protector
|
||||
COPTS.misc-inst.cc += -Wno-stack-protector
|
||||
COPTS.ostream-inst.cc += -Wno-stack-protector
|
||||
COPTS.functexcept.cc += -Wno-stack-protector
|
||||
COPTS.valarray-inst.cc += -Wno-stack-protector
|
||||
COPTS.wlocale-inst.cc += -Wno-stack-protector
|
||||
COPTS.snprintf_lite.cc += -Wno-stack-protector
|
||||
COPTS.concept-inst.cc += -fimplicit-templates
|
||||
COPTS.hashtable_c++0x.cc += -fimplicit-templates
|
||||
COPTS.bitmap_allocator.cc += -fimplicit-templates
|
||||
CPPFLAGS.strstream.cc += -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated
|
||||
|
||||
CPPFLAGS.cp-demangle.cc += -DIN_GLIBCPP_V3
|
||||
CPPFLAGS.concept-inst.cc += -D_GLIBCXX_CONCEPT_CHECKS
|
||||
|
@ -121,6 +121,10 @@ COPTS.${_s}+= -std=gnu++11
|
|||
COPTS.${_s}+= -std=gnu++98
|
||||
.endfor
|
||||
|
||||
COPTS.del_ops.cc += -Wno-c++14-compat
|
||||
COPTS.del_opvs.cc += -Wno-c++14-compat
|
||||
COPTS.cp-demangle.c += -Wno-unused-function
|
||||
|
||||
.for f in collate_members_cow \
|
||||
messages_members_cow \
|
||||
monetary_members_cow \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.10 2014/06/01 19:51:02 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2016/04/20 17:18:52 christos Exp $
|
||||
|
||||
REQUIRETOOLS= yes
|
||||
NOLINT= # defined
|
||||
|
@ -25,7 +25,7 @@ SHLIB_MINOR= 0
|
|||
SRCS= ${LIBSUPCXXSRCS} xmalloc.c
|
||||
CXXFLAGS+= ${G_SECTION_FLAGS}
|
||||
|
||||
COPTS.cp-demangle.c = -Wno-stack-protector
|
||||
COPTS.cp-demangle.c = -Wno-stack-protector -Wno-unused-function
|
||||
|
||||
.if ${HAVE_LIBGCC_EH} == "no"
|
||||
G_CONFIGLINKS:= ${G_CONFIGLINKS:S,libgcc/config/arm/unwind-arm.h,libgcc/unwind-generic.h,}
|
||||
|
|
Loading…
Reference in New Issue