mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1294736 - [5.0] Switch to CRC64 integrity checking. r=glandium
This commit is contained in:
parent
c1ad292ceb
commit
940c54d37b
@ -59,7 +59,11 @@ XZStream::~XZStream()
|
||||
bool
|
||||
XZStream::Init()
|
||||
{
|
||||
#ifdef XZ_USE_CRC64
|
||||
xz_crc64_init();
|
||||
#endif
|
||||
xz_crc32_init();
|
||||
|
||||
mDec = xz_dec_init(XZ_DYNALLOC, kDictSize);
|
||||
|
||||
if (!mDec) {
|
||||
|
@ -47,6 +47,8 @@ if CONFIG['CPU_ARCH'] == 'x86':
|
||||
if CONFIG['GNU_CXX']:
|
||||
CXXFLAGS += ['-Wno-error=shadow']
|
||||
|
||||
DEFINES['XZ_USE_CRC64'] = 1
|
||||
|
||||
USE_LIBS += [
|
||||
'xz-embedded',
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user