Bug 1487049 - Set ENABLE_HARDENING for libopus; r=jmspeex
authorDan Minor <dminor@mozilla.com>
Tue, 04 Sep 2018 08:15:09 -0400
changeset 436080 309d6b502c71a21751333c699d47639545fc53cd
parent 436079 87c44124c772e288a4a556627be73d6005ac6382
child 436081 51e9e9660b3e98c8faf30181988750848f3ca36a
child 436089 3113a83b34557d35bdfb54f08c72c937a0980b38
push id34625
push userdvarga@mozilla.com
push dateThu, 13 Sep 2018 02:31:40 +0000
treeherdermozilla-central@51e9e9660b3e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmspeex
bugs1487049
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1487049 - Set ENABLE_HARDENING for libopus; r=jmspeex Reviewers: jmvalin Tags: #secure-revision Bug #: 1487049 Differential Revision: https://phabricator.services.mozilla.com/D4932
media/libopus/moz.build
--- a/media/libopus/moz.build
+++ b/media/libopus/moz.build
@@ -17,16 +17,17 @@ EXPORTS.opus += [
 # We allow warnings for third-party code that can be updated from upstream.
 AllowCompilerWarnings()
 
 FINAL_LIBRARY = 'gkmedias'
 
 DEFINES['OPUS_BUILD'] = True
 DEFINES['OPUS_VERSION'] = '"v1.3-rc-19-g5cbd7d5f-mozilla"'
 DEFINES['USE_ALLOCA'] = True
+DEFINES['ENABLE_HARDENING'] = True
 
 # Don't export symbols
 DEFINES['OPUS_EXPORT'] = ''
 
 if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['GNU_AS']:
     DEFINES['OPUS_ARM_ASM'] = True
     DEFINES['OPUS_ARM_EXTERNAL_ASM'] = True
     DEFINES['OPUS_ARM_INLINE_ASM'] = True