summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-04-03 14:17:14 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-04-03 14:17:14 (GMT)
commit4bf56c331beb38ee5a2245829277460f7e9333ad (patch)
tree48c9558b4e8419d09a7a1f3af2e36ab9a0dbb648 /Utilities
parent2978a5549acd9a55582ab42ae774e75ddf2b606f (diff)
parent82c51a8ac6c4a8fba127402d96f8269492f3a115 (diff)
downloadCMake-4bf56c331beb38ee5a2245829277460f7e9333ad.zip
CMake-4bf56c331beb38ee5a2245829277460f7e9333ad.tar.gz
CMake-4bf56c331beb38ee5a2245829277460f7e9333ad.tar.bz2
Merge topic 'fix-liblzma-XL-optimize'
82c51a8a liblzma: Disable XL compiler optimizations in one source to avoid crash
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmliblzma/liblzma/lzma/lzma_encoder_optimum_normal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Utilities/cmliblzma/liblzma/lzma/lzma_encoder_optimum_normal.c b/Utilities/cmliblzma/liblzma/lzma/lzma_encoder_optimum_normal.c
index d3a6348..fc54d8d 100644
--- a/Utilities/cmliblzma/liblzma/lzma/lzma_encoder_optimum_normal.c
+++ b/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"