Module Name: src Committed By: martin Date: Sat Apr 14 10:44:56 UTC 2018
Modified Files: src/tools [netbsd-8]: Makefile.gnuhost Log Message: Pull up following revision(s) (requested by maya in ticket #754): tools/Makefile.gnuhost: revision 1.45 GCC build exceeds the macOS clang default bracket nesting level of 256. Work around with -fbracket-depth=512. >From potr in PR toolchain/53178. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.44.8.1 src/tools/Makefile.gnuhost Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tools/Makefile.gnuhost diff -u src/tools/Makefile.gnuhost:1.44 src/tools/Makefile.gnuhost:1.44.8.1 --- src/tools/Makefile.gnuhost:1.44 Sat Jan 16 18:38:53 2016 +++ src/tools/Makefile.gnuhost Sat Apr 14 10:44:56 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.gnuhost,v 1.44 2016/01/16 18:38:53 christos Exp $ +# $NetBSD: Makefile.gnuhost,v 1.44.8.1 2018/04/14 10:44:56 martin Exp $ # # Rules used when building a GNU host package. Expects MODULE to be set. # @@ -18,9 +18,12 @@ .include <bsd.own.mk> # Disable use of pre-compiled headers on Darwin. +# GCC build exceeds the macOS clang default bracket nesting level of 256. BUILD_OSTYPE!= uname -s .if ${BUILD_OSTYPE} == "Darwin" HOST_CFLAGS+=-O2 -no-cpp-precomp +HOST_CFLAGS+=-O2 -no-cpp-precomp -fbracket-depth=512 +HOST_CXXFLAGS+= -fbracket-depth=512 .endif MAKE_PROGRAM?= ${MAKE}