Ensure old gcc does not accidently get the attributes it does not know about
This commit is contained in:
parent
31c2b42258
commit
912517a7d4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301439
@ -73,7 +73,7 @@ typedef unsigned __int64 uint64_t;
|
|||||||
#define _MUM_FRESH_GCC
|
#define _MUM_FRESH_GCC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__GNUC__) && !defined(__llvm__)
|
#if defined(__GNUC__) && !defined(__llvm__) && defined(_MUM_FRESH_GCC)
|
||||||
#define _MUM_ATTRIBUTE_UNUSED __attribute__((unused))
|
#define _MUM_ATTRIBUTE_UNUSED __attribute__((unused))
|
||||||
#define _MUM_OPTIMIZE(opts) __attribute__((__optimize__ (opts)))
|
#define _MUM_OPTIMIZE(opts) __attribute__((__optimize__ (opts)))
|
||||||
#define _MUM_TARGET(opts) __attribute__((__target__ (opts)))
|
#define _MUM_TARGET(opts) __attribute__((__target__ (opts)))
|
||||||
|
Loading…
Reference in New Issue
Block a user