diff options
author | Lei Zhang <thestig@chromium.org> | 2016-02-22 12:19:42 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-02-22 12:19:42 -0800 |
commit | d6b15fc92cb30cfc346fe28379d0aa8a24cbf601 (patch) | |
tree | b37e5c9851595ce5111438498a219d467720dd6e /build/standalone.gypi | |
parent | 2373da22a2e754ae9b0e7d913da0ce2e925f76a0 (diff) | |
download | pdfium-d6b15fc92cb30cfc346fe28379d0aa8a24cbf601.tar.xz |
Define NDEBUG for Release builds.
Also fix -Wunused warnings as a result of this change.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1717063002 .
Diffstat (limited to 'build/standalone.gypi')
-rw-r--r-- | build/standalone.gypi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/standalone.gypi b/build/standalone.gypi index 364c8d86f9..f0ab3a9567 100644 --- a/build/standalone.gypi +++ b/build/standalone.gypi @@ -82,7 +82,7 @@ '-fdata-sections', '-ffunction-sections', ], - 'defines': ['_DEBUG=1',], + 'defines': ['_DEBUG'], 'msvs_settings': { 'VCCLCompilerTool': { 'Optimization': '0', @@ -112,6 +112,7 @@ 'cflags': [ '-fno-strict-aliasing', ], + 'defines': ['NDEBUG'], 'xcode_settings': { 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 'GCC_STRICT_ALIASING': 'NO', |