Bug 1487049 - Set ENABLE_HARDENING for libopus; r=jmspeex
authorDan Minor <dminor@mozilla.com>
Tue, 04 Sep 2018 08:15:09 -0400
changeset 436003 309d6b502c71a21751333c699d47639545fc53cd
parent 436002 87c44124c772e288a4a556627be73d6005ac6382
child 436004 3113a83b34557d35bdfb54f08c72c937a0980b38
child 436108 51e9e9660b3e98c8faf30181988750848f3ca36a
push id107770
push userdminor@mozilla.com
push dateWed, 12 Sep 2018 20:27:45 +0000
treeherdermozilla-inbound@309d6b502c71 [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