Fix previous

Pointed out by s_graf at telus.net, patch from Markus Hennecke (thanks!)

While here update patch comments.
This commit is contained in:
jca 2018-04-28 16:38:25 +00:00
parent 166d314792
commit d7540c0db3

View File

@ -1,6 +1,7 @@
$OpenBSD: patch-gcc_Makefile_in,v 1.2 2018/04/25 12:56:56 jca Exp $
$OpenBSD: patch-gcc_Makefile_in,v 1.3 2018/04/28 16:38:25 jca Exp $
Disable fixincludes madness
- clang hack needed at least on arm
- disable fixincludes madness
Index: gcc/Makefile.in
--- gcc/Makefile.in.orig
@ -9,7 +10,7 @@ Index: gcc/Makefile.in
CFLAGS-gcc.o += $(DRIVER_DEFINES)
+ISCLANG = $(shell $CC --version | grep -c clang)
+ISCLANG = $(shell $(CC) --version | grep -c clang)
+
+ifeq ($(ISCLANG),1)
+CFLAGS-insn-attrtab.o += -fbracket-depth=512