diff options
author | Kent Mein <mein@cs.umn.edu> | 2006-08-03 06:46:37 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2006-08-03 06:46:37 +0400 |
commit | 6c8986838638eed9afdc13c03515ccb7b3d1aca6 (patch) | |
tree | 9b5eda9f1b49b7773533cad0a4f067df67849b67 /extern | |
parent | 1d05319e29420fe8466e9f1b2d5a900161269e97 (diff) |
Adds scons support for SunOS...
(I have one small problem with linking python's static library but
other than that this should work)
Kent
Diffstat (limited to 'extern')
-rw-r--r-- | extern/bullet/SConscript | 2 | ||||
-rw-r--r-- | extern/qhull/SConscript | 4 | ||||
-rw-r--r-- | extern/solid/SConscript | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/extern/bullet/SConscript b/extern/bullet/SConscript index dfad7c3dc86..5451764668b 100644 --- a/extern/bullet/SConscript +++ b/extern/bullet/SConscript @@ -14,7 +14,7 @@ if env['OURPLATFORM']=='win32-vc': elif env['OURPLATFORM']=='win32-mingw': defs += ' NDEBUG' cflags += ['-O2'] -elif sys.platform=='linux2' or sys.platform=='linux-i386' or sys.platform=='freebsd4' or sys.platform=='freebsd5' or sys.platform=='openbsd3': +elif sys.platform=='linux2' or sys.platform=='linux-i386' or sys.platform=='freebsd4' or sys.platform=='freebsd5' or sys.platform=='openbsd3' or sys.platform=='sunos5': defs += ' NDEBUG' cflags += ['-O2'] elif sys.platform=='darwin': diff --git a/extern/qhull/SConscript b/extern/qhull/SConscript index 6b21d3694e0..d391d445508 100644 --- a/extern/qhull/SConscript +++ b/extern/qhull/SConscript @@ -11,8 +11,8 @@ elif env['OURPLATFORM']=='win32-vc': cflags += ['/O2'] elif env['OURPLATFORM']=='win32-mingw': cflags += ['-O2'] -elif sys.platform=='sunos': - cflags += ['Xc', '-v', '-fast'] +elif sys.platform=='sunos5': + cflags += ['-O2', '-ansi'] elif sys.platform=='darwin': cflags += ['-O2', '-pipe', '-fPIC', '-funsigned-char', '-ffast-math', '-mpowerpc' , '-mtune=G4'] diff --git a/extern/solid/SConscript b/extern/solid/SConscript index 379bfbd3645..8c0eebf2767 100644 --- a/extern/solid/SConscript +++ b/extern/solid/SConscript @@ -12,7 +12,7 @@ if env['OURPLATFORM']=='win32-vc': elif env['OURPLATFORM']=='win32-mingw': defs += ' NDEBUG' cflags += ['-O2'] -elif sys.platform=='linux2' or sys.platform=='linux-i386' or sys.platform=='freebsd4' or sys.platform=='freebsd5' or sys.platform=='openbsd3': +elif sys.platform=='linux2' or sys.platform=='linux-i386' or sys.platform=='freebsd4' or sys.platform=='freebsd5' or sys.platform=='openbsd3' or sys.platform=='sunos5': defs += ' NDEBUG' cflags += ['-O2'] elif sys.platform=='darwin' : |