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

Unified Diff: src/nonsfi/linux/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 | « site_scons/site_tools/naclsdk.py ('k') | src/trusted/cpu_features/build.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/nonsfi/linux/nacl.scons
diff --git a/src/nonsfi/linux/nacl.scons b/src/nonsfi/linux/nacl.scons
index 696213149a930aa5f341d2f63e30b08b4928adcf..c93aadcfc565e64c91ce3ad891fbb0bcf766c111 100644
--- a/src/nonsfi/linux/nacl.scons
+++ b/src/nonsfi/linux/nacl.scons
@@ -9,9 +9,9 @@ if not env.Bit('nonsfi_nacl'):
Return()
# Specifying the target arch is necessary for using inline assembly.
-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=armv7a-unknown-nacl-gnueabihf', '-mfloat-abi=hard'])
else:
raise Exception('Unsupported architecture')
« no previous file with comments | « site_scons/site_tools/naclsdk.py ('k') | src/trusted/cpu_features/build.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698