Reviewers: Michael Achenbach,

Message:
ptal

Description:
Allow for compiling with xcode 5.1 (which doesn't have gcc anymore)

BUG=none
[email protected]
LOG=y

Please review this at https://codereview.chromium.org/196983006/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+6, -0 lines):
  M build/standalone.gypi


Index: build/standalone.gypi
diff --git a/build/standalone.gypi b/build/standalone.gypi
index cae63fe7ac58eb691dbc9f2d356bc969234647cb..9d4e0398f086a0e624cf2ca76d32db519d8cdecd 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -327,6 +327,12 @@
           }, {
             'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'},
           }],
+          ['clang==1', {
+            'xcode_settings': {
+              'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
+              'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++11',  # -std=gnu++11
+            },
+          }],
         ],
         'target_conditions': [
           ['_type!="static_library"', {


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to