Revision: 18201
Author: [email protected]
Date: Mon Dec 2 15:29:31 2013 UTC
Log: Support 'werror=no' on Mac/Xcode
[email protected]
Review URL: https://codereview.chromium.org/98653003
http://code.google.com/p/v8/source/detail?r=18201
Modified:
/branches/bleeding_edge/build/standalone.gypi
=======================================
--- /branches/bleeding_edge/build/standalone.gypi Fri Nov 22 10:57:55 2013
UTC
+++ /branches/bleeding_edge/build/standalone.gypi Mon Dec 2 15:29:31 2013
UTC
@@ -273,7 +273,6 @@
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
'GCC_THREADSAFE_STATICS': 'NO', #
-fno-threadsafe-statics
- 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror
'GCC_VERSION': 'com.apple.compilers.llvmgcc42',
'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof
'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor
@@ -292,6 +291,13 @@
'-Wno-unused-parameter',
],
},
+ 'conditions': [
+ ['werror==""', {
+ 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'},
+ }, {
+ 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'},
+ }],
+ ],
'target_conditions': [
['_type!="static_library"', {
'xcode_settings': {'OTHER_LDFLAGS':
['-Wl,-search_paths_first']},
--
--
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/groups/opt_out.