Index: src/untrusted/nacl/nacl.scons |
diff --git a/src/untrusted/nacl/nacl.scons b/src/untrusted/nacl/nacl.scons |
index 37aa9b598df5c452d5e3c387ce95f5acff15c8bf..d61c5a796efb087ee001ef34915e7418732f78b8 100644 |
--- a/src/untrusted/nacl/nacl.scons |
+++ b/src/untrusted/nacl/nacl.scons |
@@ -267,12 +267,13 @@ env.AddHeaderToSdk(['nacl_list_mappings.h']) |
env.ComponentLibrary( |
'libnacl_list_mappings_private', ['list_mappings_private.c']) |
-env.ComponentLibrary( |
- 'libnacl_random_private', |
- [env.ComponentObject('irt_random', |
- '${MAIN_DIR}/src/untrusted/irt/irt_random.c'), |
- env.ComponentObject('irt_nameservice', |
- '${MAIN_DIR}/src/untrusted/irt/irt_nameservice.c')]) |
+if not env.Bit('nonsfi_nacl'): |
+ env.ComponentLibrary( |
+ 'libnacl_random_private', |
+ [env.ComponentObject('irt_random', |
+ '${MAIN_DIR}/src/untrusted/irt/irt_random.c'), |
+ env.ComponentObject('irt_nameservice', |
+ '${MAIN_DIR}/src/untrusted/irt/irt_nameservice.c')]) |
imc_syscalls = [ |