scons: Add PROTOC from the environment

This patch adds PROTOC to the build environment.
This commit is contained in:
Andreas Hansson 2014-02-18 05:50:58 -05:00
parent 969b436243
commit ffc838cd00

View file

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