Browse Source

Merge topic 'fix-liblzma-XL-optimize'

82c51a8a liblzma: Disable XL compiler optimizations in one source to avoid crash
Brad King 10 years ago
parent
commit
4bf56c331b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Utilities/cmliblzma/liblzma/lzma/lzma_encoder_optimum_normal.c

+ 3 - 0
Utilities/cmliblzma/liblzma/lzma/lzma_encoder_optimum_normal.c

@@ -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"