summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc/parallel-bconfig.patch
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-05-12 14:54:26 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-05-12 15:05:01 +0200
commit7745c733ebbc071bd8f477e1afaade81b70fb951 (patch)
tree07d55d5bff673ac7df50f1a1e1c51f6696b14182 /pkgs/development/compilers/gcc/parallel-bconfig.patch
parente75b5351ac6b2f9142c3e7db2fab6c86aa8f8cda (diff)
downloadnixlib-7745c733ebbc071bd8f477e1afaade81b70fb951.tar
nixlib-7745c733ebbc071bd8f477e1afaade81b70fb951.tar.gz
nixlib-7745c733ebbc071bd8f477e1afaade81b70fb951.tar.bz2
nixlib-7745c733ebbc071bd8f477e1afaade81b70fb951.tar.lz
nixlib-7745c733ebbc071bd8f477e1afaade81b70fb951.tar.xz
nixlib-7745c733ebbc071bd8f477e1afaade81b70fb951.tar.zst
nixlib-7745c733ebbc071bd8f477e1afaade81b70fb951.zip
gcc: Remove duplicate files
Diffstat (limited to 'pkgs/development/compilers/gcc/parallel-bconfig.patch')
-rw-r--r--pkgs/development/compilers/gcc/parallel-bconfig.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/compilers/gcc/parallel-bconfig.patch b/pkgs/development/compilers/gcc/parallel-bconfig.patch
new file mode 100644
index 000000000000..bc56ac698f5a
--- /dev/null
+++ b/pkgs/development/compilers/gcc/parallel-bconfig.patch
@@ -0,0 +1,32 @@
+Hacky work-around for highly parallel builds.
+http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57125
+
+diff --git a/gcc/Makefile.in b/gcc/Makefile.in
+index aad927c..182f666 100644
+--- a/gcc/Makefile.in
++++ b/gcc/Makefile.in
+@@ -3908,21 +3908,21 @@ build/gengtype-lex.o: $(BCONFIG_H)
+ 
+ gengtype-parse.o build/gengtype-parse.o : gengtype-parse.c gengtype.h \
+   $(SYSTEM_H)
+-gengtype-parse.o: $(CONFIG_H)
++gengtype-parse.o: $(CONFIG_H) $(BCONFIG_H)
+ CFLAGS-gengtype-parse.o += -DGENERATOR_FILE
+ build/gengtype-parse.o: $(BCONFIG_H)
+ 
+ gengtype-state.o build/gengtype-state.o: gengtype-state.c $(SYSTEM_H) \
+   gengtype.h errors.h double-int.h version.h $(HASHTAB_H) $(OBSTACK_H) \
+   $(XREGEX_H)
+-gengtype-state.o: $(CONFIG_H)
++gengtype-state.o: $(CONFIG_H) $(BCONFIG_H)
+ CFLAGS-gengtype-state.o += -DGENERATOR_FILE
+ build/gengtype-state.o: $(BCONFIG_H)
+ 
+ gengtype.o build/gengtype.o : gengtype.c $(SYSTEM_H) gengtype.h 	\
+   rtl.def insn-notes.def errors.h double-int.h version.h $(HASHTAB_H) \
+   $(OBSTACK_H) $(XREGEX_H)
+-gengtype.o: $(CONFIG_H)
++gengtype.o: $(CONFIG_H) $(BCONFIG_H)
+ CFLAGS-gengtype.o += -DGENERATOR_FILE
+ build/gengtype.o: $(BCONFIG_H)
+