Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 855902
Collapse All | Expand All

(-)a/gcc/d/Make-lang.in (-3 / +11 lines)
Lines 52-58 d-warn = $(filter-out -pedantic -Woverloaded-virtual, $(STRICT_WARN)) Link Here
52
# Also filter out warnings for missing format attributes in the D Frontend.
52
# Also filter out warnings for missing format attributes in the D Frontend.
53
DMD_WARN_CXXFLAGS = $(filter-out -Wmissing-format-attribute, $(WARN_CXXFLAGS))
53
DMD_WARN_CXXFLAGS = $(filter-out -Wmissing-format-attribute, $(WARN_CXXFLAGS))
54
DMD_COMPILE = $(subst $(WARN_CXXFLAGS), $(DMD_WARN_CXXFLAGS), $(COMPILE))
54
DMD_COMPILE = $(subst $(WARN_CXXFLAGS), $(DMD_WARN_CXXFLAGS), $(COMPILE))
55
DMDGEN_COMPILE = $(subst $(COMPILER), $(COMPILER_FOR_BUILD), $(DMD_COMPILE))
56
55
57
# D Frontend object files.
56
# D Frontend object files.
58
D_FRONTEND_OBJS = \
57
D_FRONTEND_OBJS = \
Lines 360-365 d/id.h: d/id.c Link Here
360
d/impcnvtab.c: d/impcnvgen$(build_exeext)
359
d/impcnvtab.c: d/impcnvgen$(build_exeext)
361
	cd d && ./impcnvgen$(build_exeext)
360
	cd d && ./impcnvgen$(build_exeext)
362
361
362
# Compile the generator programs.
363
d/%.dmdgen.o: $(srcdir)/d/dmd/%.c
363
d/%.dmdgen.o: $(srcdir)/d/dmd/%.c
364
	$(DMDGEN_COMPILE) $(D_INCLUDES) $<
364
	$(COMPILER_FOR_BUILD) -c $(BUILD_COMPILERFLAGS) $(D_INCLUDES) \
365
	$(POSTCOMPILE)
365
		$(BUILD_CPPFLAGS) -o $@ $<
366
367
# Header dependencies for the generator programs.
368
D_SYSTEM_H = d/dmd/root/dsystem.h d/d-system.h
369
370
d/idgen.dmdgen.o: d/dmd/idgen.c $(D_SYSTEM_H) $(BCONFIG_H) $(SYSTEM_H)
371
372
d/impcnvgen.dmdgen.o: d/dmd/impcnvgen.c d/dmd/mtype.h $(D_SYSTEM_H) \
373
	$(BCONFIG_H) $(SYSTEM_H)
(-)a/gcc/d/d-system.h (-1 / +4 lines)
Lines 19-25 Link Here
19
#ifndef GCC_D_SYSTEM_H
19
#ifndef GCC_D_SYSTEM_H
20
#define GCC_D_SYSTEM_H
20
#define GCC_D_SYSTEM_H
21
21
22
#ifdef GENERATOR_FILE
23
#include "bconfig.h"
24
#else
22
#include "config.h"
25
#include "config.h"
26
#endif
23
#include "system.h"
27
#include "system.h"
24
28
25
/* Used by the dmd front-end to determine if we have POSIX-style IO.  */
29
/* Used by the dmd front-end to determine if we have POSIX-style IO.  */
26
- 

Return to bug 855902