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',
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',
#
# Assembly sources
#
-if (env['gcc'] or env['clang']) and \
- env['platform'] not in ('cygwin', 'darwin', 'windows'):
+if env['platform'] not in ('cygwin', 'darwin', 'windows'):
GLAPI = '#src/mapi/glapi/'
sources = [GLAPI + 'gen/gl_and_es_API.xml'] + env.Glob(GLAPI + 'gen/*.xml')
#
# Assembly sources
#
-if (env['gcc'] or env['clang']) and \
- env['platform'] not in ('cygwin', 'darwin', 'windows', 'haiku'):
+if env['platform'] not in ('cygwin', 'darwin', 'windows', 'haiku'):
if env['machine'] == 'x86':
env.Append(CPPDEFINES = [
'USE_X86_ASM',