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

Unified Diff: src/shared/ppapi_proxy/nacl.scons

Issue 6839002: Pass -mtls-use-call when building libraries used in IRT. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Deconditionalize irt_tls.c Created 9 years, 8 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: src/shared/ppapi_proxy/nacl.scons
diff --git a/src/shared/ppapi_proxy/nacl.scons b/src/shared/ppapi_proxy/nacl.scons
index f2c8ffcb2672a0264f2fda4b9fd592c704c57285..957f181cbf423700be6a66dbfc1a547c09e3ce8a 100644
--- a/src/shared/ppapi_proxy/nacl.scons
+++ b/src/shared/ppapi_proxy/nacl.scons
@@ -1,7 +1,7 @@
# -*- python -*-
-# Copyright 2010 The Native Client Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can
-# be found in the LICENSE file.
+# Copyright (c) 2011 The Native Client Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
Import('env')
@@ -17,6 +17,8 @@ env.Append(CPPPATH=
env.Append(CPPDEFINES=['XP_UNIX'])
env.FilterOut(CCFLAGS=['-Wswitch-enum'])
env.Append(CCFLAGS=['-Wno-long-long'])
+if not env.Bit('bitcode'):
+ env.Append(CCFLAGS=['-mtls-use-call'])
# The PPAPI RPCs are specified abstractly via .srpc files.
# Once a .srpc file is added to the UntrustedSrpc rules below, the low-level

Powered by Google App Engine
This is Rietveld 408576698