diff options
author | José Fonseca <[email protected]> | 2013-04-24 22:02:18 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2013-04-25 11:59:01 +0100 |
commit | 1687932d2b54746349f3129aff14bfbdf9e8fb25 (patch) | |
tree | b80b254d57be79e0ceccdfd9d3dda7aff2a85fd9 /src/gallium/drivers/svga | |
parent | f0c296773d5c5a9c3d933a51ce6c5580a7e2c4e0 (diff) |
scons: Support clang.
clang is supports most gcc options / extensions, with a some exceptions.
The biggest advantage of using clang is that compilation times are much
short.
One can tell scons to use clang when building by invoking it as
CC=clang CXX=clang++ scons libgl-xlib
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r-- | src/gallium/drivers/svga/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/SConscript b/src/gallium/drivers/svga/SConscript index 94c35ed712d..2051a3e0a87 100644 --- a/src/gallium/drivers/svga/SConscript +++ b/src/gallium/drivers/svga/SConscript @@ -6,7 +6,7 @@ if env['suncc']: print 'warning: not building svga' Return() -if env['gcc']: +if env['gcc'] or env['clang']: env.Append(CPPDEFINES = [ 'HAVE_STDINT_H', 'HAVE_SYS_TYPES_H', |