Added a workaround for an OSX compiler bug.
authordtrg <none@none>
Sun, 23 Jul 2006 20:33:26 +0000 (20:33 +0000)
committerdtrg <none@none>
Sun, 23 Jul 2006 20:33:26 +0000 (20:33 +0000)
util/LLgen/pmfile

index a077050..02791f4 100644 (file)
@@ -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.
 --