summaryrefslogtreecommitdiffstats
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-11-23 17:04:25 +0000
committerEric Engestrom <[email protected]>2019-06-21 11:35:39 +0000
commit6a9dd62882b9e2b57394a192cc66e886128df026 (patch)
tree26cd400d6690085a87adc0c14e25d4fb9bd85230 /scons/gallium.py
parent1cbe2ad39442a48b96fff40a3a30c74ac5e4e4e6 (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-xscons/gallium.py3
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',