summaryrefslogtreecommitdiff
path: root/build/standalone.gypi
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-13 19:01:22 -0800
committerLei Zhang <thestig@chromium.org>2016-01-13 19:01:22 -0800
commitf2663fecb894d447dfc9b4b04b4477eca5b557b7 (patch)
tree48b27e798745a4264a44a2a54a8c4b7abd3bb42c /build/standalone.gypi
parentbd292ae8c0ca1793e8824add13bc8231cec3bc75 (diff)
downloadpdfium-f2663fecb894d447dfc9b4b04b4477eca5b557b7.tar.xz
Merge to XFA: Use _GLIBCXX_DEBUG in standalone Debug builds on Linux.
TBR=ochang@chromium.org Review URL: https://codereview.chromium.org/1588643003 . (cherry picked from commit 783709f76baf7893b7334209fe89d947acd6369d) Review URL: https://codereview.chromium.org/1584713004 .
Diffstat (limited to 'build/standalone.gypi')
-rw-r--r--build/standalone.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/standalone.gypi b/build/standalone.gypi
index 536c255b55..72975bc20e 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -100,6 +100,12 @@
'xcode_settings': {
'GCC_OPTIMIZATION_LEVEL': '0', # -O0
},
+ 'conditions': [
+ ['OS=="linux"', {
+ # Enable libstdc++ debugging to help catch problems early.
+ 'defines': ['_GLIBCXX_DEBUG=1',],
+ }],
+ ],
},
'Release': {
'cflags': [