Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1199)

Unified Diff: src/untrusted/pthread/nacl.scons

Issue 758223003: Cleanup: Use Bit('build_ARCH') instead of Bit('target_ARCH') (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fix + simplify Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/untrusted/pnacl_dynloader/nacl.scons ('k') | src/untrusted/valgrind/nacl.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « src/untrusted/pnacl_dynloader/nacl.scons ('k') | src/untrusted/valgrind/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698