summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2015-03-07 14:07:10 -0800
committerVinson Lee <vlee@freedesktop.org>2015-03-09 17:28:39 -0700
commit5f759836ad75360a2f4581083043a86f7a8c1e09 (patch)
treef0a41101eaceba2f48cc9c2d188156b6764cbb93 /scons
parent7aba4ab1f355ea1a5870b3deb4b295565132dfc5 (diff)
downloadexternal_mesa3d-5f759836ad75360a2f4581083043a86f7a8c1e09.zip
external_mesa3d-5f759836ad75360a2f4581083043a86f7a8c1e09.tar.gz
external_mesa3d-5f759836ad75360a2f4581083043a86f7a8c1e09.tar.bz2
Add macro for unused function attribute.
Suggested-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'scons')
-rwxr-xr-xscons/gallium.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 7533f06..b162089 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -369,6 +369,7 @@ def generate(env):
'HAVE___BUILTIN_FFS',
'HAVE___BUILTIN_FFSLL',
'HAVE_FUNC_ATTRIBUTE_FLATTEN',
+ 'HAVE_FUNC_ATTRIBUTE_UNUSED',
# GCC 3.0
'HAVE_FUNC_ATTRIBUTE_FORMAT',
'HAVE_FUNC_ATTRIBUTE_PACKED',