mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-23 03:06:48 +00:00
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:
parent
37aefa2ad1
commit
3933ba6b0d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301442
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue