mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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