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

Unified Diff: src/shared/srpc/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/srpc/nacl.scons
diff --git a/src/shared/srpc/nacl.scons b/src/shared/srpc/nacl.scons
index 05bfb0c6ea27b4e7288188f1f03fa0462a9e03c7..fdbd96812af8221d5114f28bfc13448bb74fe721 100644
--- a/src/shared/srpc/nacl.scons
+++ b/src/shared/srpc/nacl.scons
@@ -1,13 +1,15 @@
# -*- python -*-
-# Copyright 2008 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')
# TODO(robertm): get rid of this if possible
env.Append(CCFLAGS=['-fno-strict-aliasing'])
+if not env.Bit('bitcode'):
+ env.Append(CCFLAGS=['-mtls-use-call'])
# NOTE: keep this sync'ed with build.scons

Powered by Google App Engine
This is Rietveld 408576698