summaryrefslogtreecommitdiffstats
path: root/build/common.xcconfig
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 14:18:41 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 14:18:41 +0000
commitdef7fce451d9f70ffa602d6e38524cb8ecc8adfa (patch)
treeb29121993862cd71dda6dfcdcebb47ac48a3a163 /build/common.xcconfig
parent2fb5bbd13a4599e024028bf16e35e49de119e80a (diff)
downloadchromium_src-def7fce451d9f70ffa602d6e38524cb8ecc8adfa.zip
chromium_src-def7fce451d9f70ffa602d6e38524cb8ecc8adfa.tar.gz
chromium_src-def7fce451d9f70ffa602d6e38524cb8ecc8adfa.tar.bz2
add a new xcconfig to build c++ files as obj-c++ to ensure correct linkage. Be more specific when using an overloaded operator since objective-c++ finds conflicts. Enable objective-C GC in our common config file for all projects.
Review URL: http://codereview.chromium.org/2912 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2305 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.xcconfig')
-rw-r--r--build/common.xcconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/common.xcconfig b/build/common.xcconfig
index 4f4cab7..9bda6d4 100644
--- a/build/common.xcconfig
+++ b/build/common.xcconfig
@@ -6,6 +6,7 @@ ALWAYS_SEARCH_USER_PATHS = NO
GCC_C_LANGUAGE_STANDARD = c99
GCC_CW_ASM_SYNTAX = NO
GCC_DYNAMIC_NO_PIC = YES
+GCC_ENABLE_OBJC_GC = YES
GCC_ENABLE_PASCAL_STRINGS = NO
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_PRECOMPILE_PREFIX_HEADER = YES