liblzma: Disable XL compiler optimizations in one source to avoid crash

Somehow optimizations of lzma_lzma_optimum_normal by the IBM XL C
compiler cause it to crash.  Simply disable optimizations of this source
file with a pragma.
This commit is contained in:
Brad King 2015-04-02 13:16:23 -04:00
parent af61d6cb60
commit 82c51a8ac6
1 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,9 @@
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#if defined(__IBMC__)
# pragma options optimize=0
#endif
#include "lzma_encoder_private.h"
#include "fastpos.h"