From 00291b5cf4a0f16ddca425b74ed30e8ac35d40e2 Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Mon, 22 Mar 2004 22:02:18 +0000 Subject: [GameEngine] Commit all Kester's changes made to the gameengine to restore 2.25 like physics. [SCons] Build with Solid as default when enabling the gameengine in the build process [SCons] Build solid and qhull from the extern directory and link statically against them That was about it. There are a few things that needs double checking: * Makefiles * Projectfiles * All the other systems than Linux and Windows on which the build (with scons) has been successfully tested. --- extern/qhull/SConscript | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'extern/qhull') diff --git a/extern/qhull/SConscript b/extern/qhull/SConscript index 3af54e31e62..22a09a99345 100644 --- a/extern/qhull/SConscript +++ b/extern/qhull/SConscript @@ -1,10 +1,17 @@ +import sys + qhull_env = Environment() # Import the C flags set in the SConstruct file Import ('cflags') Import ('defines') Import ('user_options_dict') -qhull_env.Append (CCFLAGS = cflags) +if sys.platform=='linux2' or sys.platform=='linux-i386': + qhull_env.Append (CCFLAGS = ['-O2', '-ansi']) +elif sys.platform=='sunos': + qhull_env.Append (CCFLAGS = ['Xc', '-v', '-fast']) +else: + qhull_env.Append (CCFLAGS = cflags) qhull_env.Append (CPPDEFINES = defines) source_files = ['src/geom.c', -- cgit v1.2.3