Index: src/untrusted/pthread/nacl.scons |
diff --git a/src/untrusted/pthread/nacl.scons b/src/untrusted/pthread/nacl.scons |
index ae9c3ce7b5f94a36c8117831ee00b8c5b539ff23..c7138ffcc2f049a8fcc4980a510cb3cea89a1260 100644 |
--- a/src/untrusted/pthread/nacl.scons |
+++ b/src/untrusted/pthread/nacl.scons |
@@ -18,9 +18,9 @@ if env.Bit('bitcode'): |
if env.Bit('nonsfi_nacl'): |
# Specifying the target arch is necessary for using inline assembly |
# in non-SFI code. |
- if env.Bit('target_x86_32'): |
+ if env.Bit('build_x86_32'): |
env.Append(CCFLAGS=['--target=i686-unknown-nacl']) |
- elif env.Bit('target_arm'): |
+ elif env.Bit('build_arm'): |
env.Append(CCFLAGS=['--target=armv7-unknown-nacl-gnueabihf', |
'-mfloat-abi=hard']) |
else: |