From 5c32b0f2fd628623e53ab1c635c49fb33e1fc6bc Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Thu, 1 Nov 2012 21:56:30 -0700 Subject: [PATCH] scons: Fix scons build after builtin_stubs.cpp change. Fixes the scons build after: commit 9948a33653088c2b9409f12924857643989657a5 Author: Thierry Reding Date: Fri Oct 19 14:03:01 2012 +0200 build: Don't cross-compile GLSL builtin compiler This may not be the best way to get it working, but it does. Signed-off-by: Kenneth Graunke --- src/glsl/SConscript | 1 + 1 file changed, 1 insertion(+) diff --git a/src/glsl/SConscript b/src/glsl/SConscript index 6314c75..dcfe5bb 100644 --- a/src/glsl/SConscript +++ b/src/glsl/SConscript @@ -60,6 +60,7 @@ else: env.Prepend(CPPPATH = ['#src/mesa/program']) env.Command('hash_table.c', '#src/mesa/program/hash_table.c', Copy('$TARGET', '$SOURCE')) env.Command('symbol_table.c', '#src/mesa/program/symbol_table.c', Copy('$TARGET', '$SOURCE')) + env.Command('builtin_stubs.cpp', '#src/glsl/builtin_compiler/builtin_stubs.cpp', Copy('$TARGET', '$SOURCE')) compiler_objs = env.StaticObject(source_lists['GLSL_COMPILER_CXX_FILES']) -- 1.8.0