diff options
author | José Fonseca <jfonseca@vmware.com> | 2011-06-17 16:28:27 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-06-17 16:41:05 +0100 |
commit | 8173471fc25f4c768cab54fa840fd4c53d1c3c0f (patch) | |
tree | c4c2432bc2184eb63aac9e19ed5edbc23cadbab5 /SConstruct | |
parent | 41750107496858a047afa8d81d20fe903f285a78 (diff) | |
download | mesa-8173471fc25f4c768cab54fa840fd4c53d1c3c0f.tar.gz |
scons: Move all env setup to scons/gallium.py
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/SConstruct b/SConstruct index dc5fd776a71..104cc38aa63 100644 --- a/SConstruct +++ b/SConstruct @@ -80,27 +80,6 @@ env.Append(CPPPATH = [ if env['msvc']: env.Append(CPPPATH = ['#include/c99']) -# Posix -if env['platform'] in ('posix', 'linux', 'freebsd', 'darwin'): - env.Append(CPPDEFINES = [ - '_POSIX_SOURCE', - ('_POSIX_C_SOURCE', '199309L'), - '_SVID_SOURCE', - '_BSD_SOURCE', - '_GNU_SOURCE', - 'PTHREADS', - 'HAVE_POSIX_MEMALIGN', - ]) - if env['gcc']: - env.Append(CFLAGS = ['-fvisibility=hidden']) - if env['platform'] == 'darwin': - env.Append(CPPDEFINES = ['_DARWIN_C_SOURCE']) - env.Append(LIBS = [ - 'm', - 'pthread', - 'dl', - ]) - # for debugging #print env.Dump() |