[cgkit-commits] SF.net SVN: cgkit: [226] cgkit/trunk/supportlib/SConstruct
Brought to you by:
mbaas
From: <mb...@us...> - 2008-02-10 21:00:27
|
Revision: 226 http://cgkit.svn.sourceforge.net/cgkit/?rev=226&view=rev Author: mbaas Date: 2008-02-10 13:00:18 -0800 (Sun, 10 Feb 2008) Log Message: ----------- Build a universal binary on OSX Modified Paths: -------------- cgkit/trunk/supportlib/SConstruct Modified: cgkit/trunk/supportlib/SConstruct =================================================================== --- cgkit/trunk/supportlib/SConstruct 2008-02-09 13:20:16 UTC (rev 225) +++ cgkit/trunk/supportlib/SConstruct 2008-02-10 21:00:18 UTC (rev 226) @@ -34,6 +34,10 @@ if sys.platform=="win32": env.Append(CCFLAGS = ["/GX", "/GR", "/MD", "/W3"]) env.Append(CPPDEFINES = ["WIN32", "_LIB"]) +elif sys.platform=="darwin": + env.Append(CCFLAGS = ["-arch", "i386", "-arch", "ppc"]) + env.Append(CPPPATH = ["/opt/local/include"]) + env.Append(CCFLAGS = ["-fPIC"]) else: env.Append(CPPPATH = ["/opt/local/include"]) env.Append(CCFLAGS = ["-fPIC"]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |