summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r600/SConscript')
-rw-r--r--src/gallium/drivers/r600/SConscript6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/drivers/r600/SConscript b/src/gallium/drivers/r600/SConscript
index 0135808f10a..19f07b2bef8 100644
--- a/src/gallium/drivers/r600/SConscript
+++ b/src/gallium/drivers/r600/SConscript
@@ -2,11 +2,7 @@ Import('*')
env = env.Clone()
-try:
- env.ParseConfig('pkg-config --cflags libdrm_radeon')
-except OSError:
- print 'warning: not building r600'
- Return()
+env.PkgUseModules('DRM_RADEON')
env.Append(CPPPATH = [
'#/include',