diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/svga/SConscript | 7 | ||||
-rw-r--r-- | src/gallium/winsys/svga/drm/SConscript | 10 |
2 files changed, 7 insertions, 10 deletions
diff --git a/src/gallium/drivers/svga/SConscript b/src/gallium/drivers/svga/SConscript index 0ee624616f9..aee337fa846 100644 --- a/src/gallium/drivers/svga/SConscript +++ b/src/gallium/drivers/svga/SConscript @@ -8,10 +8,9 @@ if env['suncc']: print 'warning: not building svga' Return() -if env['gcc'] or env['clang']: - env.Append(CPPDEFINES = [ - 'HAVE_STDINT_H', - ]) +env.Append(CPPDEFINES = [ + 'HAVE_STDINT_H', +]) env.Prepend(CPPPATH = [ 'include', diff --git a/src/gallium/winsys/svga/drm/SConscript b/src/gallium/winsys/svga/drm/SConscript index 25850531d31..2cb11e610df 100644 --- a/src/gallium/winsys/svga/drm/SConscript +++ b/src/gallium/winsys/svga/drm/SConscript @@ -4,12 +4,10 @@ env = env.Clone() env.PkgUseModules('DRM') -if env['gcc'] or env['clang'] or env['icc']: - env.Append(CCFLAGS = ['-fvisibility=hidden']) - env.Append(CPPDEFINES = [ - 'HAVE_STDINT_H', - '-D_FILE_OFFSET_BITS=64', - ]) +env.Append(CPPDEFINES = [ + 'HAVE_STDINT_H', + '-D_FILE_OFFSET_BITS=64', +]) env.Prepend(CPPPATH = [ '#/src/gallium/drivers/svga', |