Source-Changes-HG archive

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

[src/trunk]: src/tools Remove hack previously needed to build gcc/arm with cl...



details:   https://anonhg.NetBSD.org/src/rev/ed323e261053
branches:  trunk
changeset: 322092:ed323e261053
user:      maya <maya%NetBSD.org@localhost>
date:      Tue Apr 17 10:08:54 2018 +0000

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

Tested by thorpej.

diffstat:

 tools/Makefile.gnuhost |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (23 lines):

diff -r e7c8a3d5a802 -r ed323e261053 tools/Makefile.gnuhost
--- a/tools/Makefile.gnuhost    Tue Apr 17 10:02:49 2018 +0000
+++ b/tools/Makefile.gnuhost    Tue Apr 17 10:08:54 2018 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index