Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extern/qhull/SConscript')
-rw-r--r--extern/qhull/SConscript9
1 files changed, 8 insertions, 1 deletions
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',