summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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')