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
This commit is contained in:
bapt 2016-06-05 11:56:03 +00:00
parent 8f8138fdd3
commit 4f046d81dc

View File

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