Hack to make compiling the tango 0.99.8 runtime work.

The gc has no module statements and the new frontend fails to find
the imports. So I add an explicit include path to the runtime gc
directory.
This commit is contained in:
Christian Kamm
2009-11-07 10:54:40 +01:00
parent 3479e91996
commit f84bddc8d0

View File

@@ -120,7 +120,7 @@ macro(dc INPUT_D OUTLIST_O OUTLIST_BC OUTDIR INCDIR MOREFLAGS)
OUTPUT
${OUTPUT_O}
${OUTPUT_BC}
COMMAND ${LDC_LOC} -c -I${INCDIR} -output-bc ${INPUT_D} -of${OUTPUT_O} ${D_FLAGS} ${MOREFLAGS}
COMMAND ${LDC_LOC} -c -I${INCDIR} -I${RUNTIME_GC_DIR} -output-bc ${INPUT_D} -of${OUTPUT_O} ${D_FLAGS} ${MOREFLAGS}
DEPENDS ${LDC_LOC}
${INPUT_D}
${LDC_IMPORTS}