From 1799cb0706f98eac06cf8e3b6eb820e2f5814c05 Mon Sep 17 00:00:00 2001 From: dtrg Date: Sun, 23 Jul 2006 20:33:26 +0000 Subject: [PATCH] Added a workaround for an OSX compiler bug. --- util/LLgen/pmfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/util/LLgen/pmfile b/util/LLgen/pmfile index a077050b3..02791f49a 100644 --- a/util/LLgen/pmfile +++ b/util/LLgen/pmfile @@ -18,6 +18,12 @@ INSTALLPATH = "bin/" LLgen = cprogram { CEXTRAFLAGS = '-DLIBDIR=\\"'..PREFIX..'share/LLgen\\" -DNON_CORRECTING', + + -- This line is needed to work around an OSX bug --- Apple's hacked gcc's + -- preprocessor doesn't find LLgen.c's include files properly. Don't know + -- why. + + CINCLUDES = {PARENT, "-Isrc"}, cfile "src/main.c", cfile "src/gencode.c", @@ -107,6 +113,9 @@ install = group { -- Revision history -- $Log$ --- Revision 1.2 2006-07-21 11:15:14 dtrg +-- Revision 1.3 2006-07-23 20:33:26 dtrg +-- Added a workaround for an OSX compiler bug. +-- +-- Revision 1.2 2006/07/21 11:15:14 dtrg -- Updated to the latest version of pm. -- -- 2.34.1