summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2011-11-06 06:59:47 -0700
committerChia-I Wu <olvaffe@gmail.com>2011-11-06 14:38:23 -0700
commit8b64b86a6508a7f4227746ab4c18a54b9e7d8c05 (patch)
tree3c7f4a41a4a20b8efdb12ef3a29af268dcebac90 /src/gallium/drivers
parentad156efe39bafb5ea50b5188fc66021869bd8a91 (diff)
scons: add CPP_SOURCES for nv50/nvc0
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/nv50/SConscript3
-rw-r--r--src/gallium/drivers/nvc0/SConscript3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/SConscript b/src/gallium/drivers/nv50/SConscript
index 579376dc15a..3baaa8ae341 100644
--- a/src/gallium/drivers/nv50/SConscript
+++ b/src/gallium/drivers/nv50/SConscript
@@ -4,7 +4,8 @@ env = env.Clone()
nv50 = env.ConvenienceLibrary(
target = 'nv50',
- source = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
+ source = env.ParseSourceList('Makefile.sources',
+ ['C_SOURCES', 'CPP_SOURCES'])
)
Export('nv50')
diff --git a/src/gallium/drivers/nvc0/SConscript b/src/gallium/drivers/nvc0/SConscript
index 9f59ec43e1f..4e456d1956b 100644
--- a/src/gallium/drivers/nvc0/SConscript
+++ b/src/gallium/drivers/nvc0/SConscript
@@ -4,7 +4,8 @@ env = env.Clone()
nvc0 = env.ConvenienceLibrary(
target = 'nvc0',
- source = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
+ source = env.ParseSourceList('Makefile.sources',
+ ['C_SOURCES', 'CPP_SOURCES'])
)
Export('nvc0')