| Index: src/trusted/service_runtime/build.scons
|
| diff --git a/src/trusted/service_runtime/build.scons b/src/trusted/service_runtime/build.scons
|
| index 5866d6a9a69a0b376d6c868ff0b7598972d2c017..c59eba3c30828d780ca0259fb70f5e26f49a2bec 100644
|
| --- a/src/trusted/service_runtime/build.scons
|
| +++ b/src/trusted/service_runtime/build.scons
|
| @@ -354,7 +354,8 @@ if ((not env.Bit('coverage_enabled') or not env.Bit('windows')) and
|
| env.EnsureRequiredBuildWarnings()
|
|
|
| # Bootstrap loader used on Linux.
|
| -if env.Bit('linux') and not env.CrossToolsBuild():
|
| +if (env.Bit('linux') and not env.CrossToolsBuild() and
|
| + not env.Bit('built_elsewhere')):
|
| bootstrap_env = env.Clone()
|
| bootstrap_env.Replace(CLANG_OPTS='')
|
| bootstrap_env.FilterOut(CCFLAGS=['-fstack-protector', '-fPIC', '-fPIE',
|
|
|