summaryrefslogtreecommitdiff
path: root/src/gallium/targets/osmesa/glsl_types_hack.cpp
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-10-19 14:29:28 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-10-19 15:59:59 +0100
commitb23a4859f4dbbcca7d6a637010167d470211e45b (patch)
tree6e47c0a14c1766befc7c051a1e69a5d2700e4a92 /src/gallium/targets/osmesa/glsl_types_hack.cpp
parent530eb39c71d2f42ef5d6c556aff77c322434f4e2 (diff)
scons: Build nir/glsl_types.cpp once.
Undoes early hacks, and ensures nir/glsl_types.cpp is built once, and only once. The root problem is that SCons doesn't know about NIR nor any source file in the NIR_FILES source list. Tested with libgl-gdi and libgl-xlib scons targets. Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/targets/osmesa/glsl_types_hack.cpp')
-rw-r--r--src/gallium/targets/osmesa/glsl_types_hack.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/targets/osmesa/glsl_types_hack.cpp b/src/gallium/targets/osmesa/glsl_types_hack.cpp
deleted file mode 100644
index 5c042f23e3b..00000000000
--- a/src/gallium/targets/osmesa/glsl_types_hack.cpp
+++ /dev/null
@@ -1,3 +0,0 @@
-/* errrg scons.. otherwise "scons: *** Two environments with different actions were specified for the same target: $mesa/build/linux-x86_64-debug/glsl/nir/glsl_types.os" */
-#include "glsl_types.cpp"
-