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

@ -19,6 +19,12 @@ INSTALLPATH = "bin/"
LLgen = cprogram { LLgen = cprogram {
CEXTRAFLAGS = '-DLIBDIR=\\"'..PREFIX..'share/LLgen\\" -DNON_CORRECTING', 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/main.c",
cfile "src/gencode.c", cfile "src/gencode.c",
cfile "src/compute.c", cfile "src/compute.c",
@ -107,6 +113,9 @@ install = group {
-- Revision history -- Revision history
-- $Log$ -- $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. -- Updated to the latest version of pm.
-- --