Added a workaround for an OSX compiler bug.

This commit is contained in:
dtrg 2006-07-23 20:33:26 +00:00
parent f39d595f98
commit 1799cb0706

View 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.
--