From 4f046d81dc9fba4673f6ab7640b8169461cc5f61 Mon Sep 17 00:00:00 2001 From: bapt Date: Sun, 5 Jun 2016 11:56:03 +0000 Subject: Fix build with external gcc Completly disable some extra optimisation for very recent gcc. They would require some updated in the runtime which we do not have yet --- contrib/libucl/src/mum.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib/libucl') diff --git a/contrib/libucl/src/mum.h b/contrib/libucl/src/mum.h index 8bc8af8..9c719e5 100644 --- a/contrib/libucl/src/mum.h +++ b/contrib/libucl/src/mum.h @@ -69,9 +69,11 @@ typedef unsigned __int64 uint64_t; #endif #endif +#if 0 #if defined(__GNUC__) && ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 9) || (__GNUC__ > 4)) #define _MUM_FRESH_GCC #endif +#endif #if defined(__GNUC__) && !defined(__llvm__) && defined(_MUM_FRESH_GCC) #define _MUM_ATTRIBUTE_UNUSED __attribute__((unused)) -- cgit v1.1