summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-10 15:46:34 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-10 15:46:34 +0000
commit793c3d768b7baff8de326e5b90f419259eebe276 (patch)
tree46ac455b10d5a0b3686b7092d6dfaec7a0ef71ca /build
parent9146221ca83c4996713894316661b442b20c9e28 (diff)
downloadchromium_src-793c3d768b7baff8de326e5b90f419259eebe276.zip
chromium_src-793c3d768b7baff8de326e5b90f419259eebe276.tar.gz
chromium_src-793c3d768b7baff8de326e5b90f419259eebe276.tar.bz2
Force c++ dtors to get called in objc interfaces (it was always on since gcc4.2, but this makes it explicit). Use scoped_* goodness.
Review URL: http://codereview.chromium.org/70001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13504 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index d80242c..8327758 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -269,6 +269,7 @@
'GCC_DYNAMIC_NO_PIC': 'YES',
'GCC_ENABLE_PASCAL_STRINGS': 'NO',
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
+ 'GCC_OBJC_CALL_CXX_CDTORS': 'YES',
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES',
'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES',
'GCC_VERSION': '4.2',