mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
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
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && !defined(__llvm__)
|
||||
#if defined(__GNUC__) && !defined(__llvm__) && defined(_MUM_FRESH_GCC)
|
||||
#define _MUM_ATTRIBUTE_UNUSED __attribute__((unused))
|
||||
#define _MUM_OPTIMIZE(opts) __attribute__((__optimize__ (opts)))
|
||||
#define _MUM_TARGET(opts) __attribute__((__target__ (opts)))
|
||||
|
|
Loading…
Reference in a new issue