summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/SConscript')
-rw-r--r--src/gallium/auxiliary/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/SConscript b/src/gallium/auxiliary/SConscript
index e00040d97ab..07c420e138d 100644
--- a/src/gallium/auxiliary/SConscript
+++ b/src/gallium/auxiliary/SConscript
@@ -58,6 +58,10 @@ if env['llvm']:
'GALLIVM_CPP_SOURCES'
])
+ if env['toolchain'] == 'crossmingw':
+ # compile lp_bld_misc.cpp without -gstabs option
+ source = env.compile_without_gstabs(source, "gallivm/lp_bld_misc.cpp")
+
gallium = env.ConvenienceLibrary(
target = 'gallium',
source = source,