Module Name:    src
Committed By:   maya
Date:           Tue Apr 17 10:08:54 UTC 2018

Modified Files:
        src/tools: Makefile.gnuhost

Log Message:
Remove hack previously needed to build gcc/arm with clang.
genattrtab.c:1.2 makes this unnecessary.

Tested by thorpej.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 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.47 src/tools/Makefile.gnuhost:1.48
--- src/tools/Makefile.gnuhost:1.47	Tue Apr 17 02:03:56 2018
+++ src/tools/Makefile.gnuhost	Tue Apr 17 10:08:54 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.gnuhost,v 1.47 2018/04/17 02:03:56 christos Exp $
+#	$NetBSD: Makefile.gnuhost,v 1.48 2018/04/17 10:08:54 maya Exp $
 #
 # Rules used when building a GNU host package.  Expects MODULE to be set.
 #
@@ -23,13 +23,6 @@ BUILD_OSTYPE!= uname -s
 HOST_CFLAGS+=-O2 -no-cpp-precomp
 .endif
 
-# GCC build exceeds the clang default bracket nesting level of 256.
-HOST_COMPILER_CLANG != if echo __clang__ | ${HOST_CC} -E - | grep -q clang; then echo no; else echo yes; fi
-.if ${HOST_COMPILER_CLANG} == "yes"
-HOST_CFLAGS+= -fbracket-depth=512
-HOST_CXXFLAGS+= -fbracket-depth=512
-.endif
-
 MAKE_PROGRAM?=	${MAKE}
 
 .for i in 3 2

Reply via email to