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

Unified Diff: site_scons/site_tools/naclsdk.py

Issue 616813002: Non-SFI Mode: Enable compiling exception_test for x86-32. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: workaround part 2 Created 6 years, 3 months 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
Index: site_scons/site_tools/naclsdk.py
diff --git a/site_scons/site_tools/naclsdk.py b/site_scons/site_tools/naclsdk.py
index dbe31281f023d6f5e1c52ac14cf766c8fe79d79c..69e4611d4440331dbbd529724e819319436f1fda 100755
--- a/site_scons/site_tools/naclsdk.py
+++ b/site_scons/site_tools/naclsdk.py
@@ -357,7 +357,8 @@ def AddBiasForPNaCl(env, temporarily_allow=True):
env.AppendUnique(CCFLAGS=['--pnacl-arm-bias'],
ASPPFLAGS=['--pnacl-arm-bias'])
elif env.Bit('target_x86_32'):
- env.AppendUnique(CCFLAGS=['--pnacl-i686-bias'],
+ env.AppendUnique(CCFLAGS=['--pnacl-i686-bias',
+ '--target=i686-unknown-nacl'],
Mark Seaborn 2014/09/30 20:32:29 This is fine to do, but if we're using the arch-sp
Junichi Uekawa 2014/10/01 04:17:13 AddBiasForPNaCl is used elsewhere for using the de
Mark Seaborn 2014/10/01 17:02:30 Oops, yes. I misread this change and thought you
ASPPFLAGS=['--pnacl-i686-bias'])
elif env.Bit('target_x86_64'):
env.AppendUnique(CCFLAGS=['--pnacl-x86_64-bias'],

Powered by Google App Engine
This is Rietveld 408576698