summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/SConscript
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2013-10-16 15:05:51 -0700
committerJosé Fonseca <[email protected]>2013-10-16 15:05:51 -0700
commit40ddd8b659db1224ce6a0fe6db786b1551ce88ee (patch)
treeb7d36bb1cafc0de06af3bd33158baf7144d7c43c /src/gallium/drivers/llvmpipe/SConscript
parent9da4021626dd48a1cc25054d1d4009e098f4d97b (diff)
Revert "scons: Fix build when rtti is disabled"
This reverts commit 94d05bf87a21bd364e84f699a0064e5fba58a6f9 as it has a few problems: - it breaks windows builds becuase env[LLVM_CXXFLAGS] is never set there - it is merging not only rtti, but the whole cxxflags (defines etc) which has proven to be a source of troubles (breaks debugging etc.)
Diffstat (limited to 'src/gallium/drivers/llvmpipe/SConscript')
-rw-r--r--src/gallium/drivers/llvmpipe/SConscript9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gallium/drivers/llvmpipe/SConscript b/src/gallium/drivers/llvmpipe/SConscript
index 71faee245c0..20500fd834f 100644
--- a/src/gallium/drivers/llvmpipe/SConscript
+++ b/src/gallium/drivers/llvmpipe/SConscript
@@ -10,14 +10,13 @@ if not env['llvm']:
env = env.Clone()
llvmpipe = env.ConvenienceLibrary(
- target = 'llvmpipe',
- source = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
-)
-
-env.Append(CXXFLAGS = env['LLVM_CXXFLAGS'])
+ target = 'llvmpipe',
+ source = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
+ )
env.Alias('llvmpipe', llvmpipe)
+
if not env['embedded']:
env = env.Clone()