scons: Add PROTOC from the environment
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 18 Feb 2014 10:50:58 +0000 (05:50 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 18 Feb 2014 10:50:58 +0000 (05:50 -0500)
This patch adds PROTOC to the build environment.

SConstruct

index 27f44f893f3a8d75ee608900f74f31dd161f61b0..660579657be2a08b64516c4485febabccb71c30a 100755 (executable)
@@ -193,8 +193,8 @@ termcap = get_termcap(GetOption('use_colors'))
 
 # export TERM so that clang reports errors in color
 use_vars = set([ 'AS', 'AR', 'CC', 'CXX', 'HOME', 'LD_LIBRARY_PATH',
-                 'LIBRARY_PATH', 'PATH', 'PKG_CONFIG_PATH', 'PYTHONPATH',
-                 'RANLIB', 'SWIG', 'TERM' ])
+                 'LIBRARY_PATH', 'PATH', 'PKG_CONFIG_PATH', 'PROTOC',
+                 'PYTHONPATH', 'RANLIB', 'SWIG', 'TERM' ])
 
 use_prefixes = [
     "M5",           # M5 configuration (e.g., path to kernels)