diff options
author | Eric Engestrom <[email protected]> | 2018-11-23 17:04:25 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-06-21 11:35:39 +0000 |
commit | 6a9dd62882b9e2b57394a192cc66e886128df026 (patch) | |
tree | 26cd400d6690085a87adc0c14e25d4fb9bd85230 /scons/gallium.py | |
parent | 1cbe2ad39442a48b96fff40a3a30c74ac5e4e4e6 (diff) |
drisw: move build logic to build systems
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'scons/gallium.py')
-rwxr-xr-x | scons/gallium.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index 61bbeb2399f..c2713992b36 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -371,6 +371,9 @@ def generate(env): if check_functions(env, ['timespec_get']): cppdefines += ['HAVE_TIMESPEC_GET'] + if check_header(env, 'sys/shm.h'): + cppdefines += ['HAVE_SYS_SHM_H'] + if platform == 'windows': cppdefines += [ 'WIN32', |