summaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-12-05 19:52:43 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2017-01-18 16:01:14 +0000
commitdfc84c2296891858ef9d12800ae778063b76c05a (patch)
tree797ab8b57fe947a28e29f8ab705d3ece5f58e157 /scons
parent63c58dfc653c499aab5b8d0ea07f1dc1af88c856 (diff)
downloadmesa-dfc84c2296891858ef9d12800ae778063b76c05a.tar.gz
mesa-dfc84c2296891858ef9d12800ae778063b76c05a.tar.bz2
mesa-dfc84c2296891858ef9d12800ae778063b76c05a.zip
mesa: make use of HAVE_FUNC_ATTRIBUTE_ALIAS macro
We must make sure that xserver has an equivalent one-line change to its configure.ac as the glx/glapi headers get copied over. Then again, xserver does _not_ seem to set HAVE_ALIAS to begin with so one might want to look into that first. Cc: Adam Jackson <ajax@redhat.com> Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'scons')
-rwxr-xr-xscons/gallium.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index dc7fdce2874..767766fd6fe 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -323,10 +323,6 @@ def generate(env):
'GLX_DIRECT_RENDERING',
'GLX_INDIRECT_RENDERING',
]
- if env['platform'] in ('linux', 'freebsd'):
- cppdefines += ['HAVE_ALIAS']
- else:
- cppdefines += ['GLX_ALIAS_UNSUPPORTED']
if env['platform'] in ('linux', 'darwin'):
cppdefines += ['HAVE_XLOCALE_H']