Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3954)

Unified Diff: build/standalone.gypi

Issue 1584713004: Merge to XFA: Use _GLIBCXX_DEBUG in standalone Debug builds on Linux. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/standalone.gypi
diff --git a/build/standalone.gypi b/build/standalone.gypi
index 536c255b5571a57cdc8f50d0fc1688e110b5d91b..72975bc20e61e0e46422ed2150462e71851bd9bb 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': [
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698