Index: src/shared/platform/nacl.scons |
diff --git a/src/shared/platform/nacl.scons b/src/shared/platform/nacl.scons |
index 2557c6c1c5857a7c4c6f8e4b07be4676e8f79c49..ca3a15fa5677fbf37a6781f0d2a64e8f77e088dc 100644 |
--- a/src/shared/platform/nacl.scons |
+++ b/src/shared/platform/nacl.scons |
@@ -1,10 +1,12 @@ |
# -*- 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') |
env.Append(CCFLAGS=['-Wno-long-long']) |
+if not env.Bit('bitcode'): |
+ env.Append(CCFLAGS=['-mtls-use-call']) |
robertm
2011/04/13 21:21:04
# can you motivate this special casing in a brief
|
platform_inputs = [ |
'nacl_check.c', |