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:
Baptiste Daroussin 2016-06-05 11:56:03 +00:00
parent 37aefa2ad1
commit 3933ba6b0d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301442

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