summaryrefslogtreecommitdiffstats
path: root/contrib/libucl
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-06-05 09:38:48 +0000
committerbapt <bapt@FreeBSD.org>2016-06-05 09:38:48 +0000
commitb70f46c9797f2283f36872b7e0ddba2bdb9ac028 (patch)
treed774328b440fa31f46553e9125ae7b573700cb91 /contrib/libucl
parent5ae4adccba716e6532d6fac75e62a9e974156346 (diff)
downloadFreeBSD-src-b70f46c9797f2283f36872b7e0ddba2bdb9ac028.zip
FreeBSD-src-b70f46c9797f2283f36872b7e0ddba2bdb9ac028.tar.gz
Ensure old gcc does not accidently get the attributes it does not know about
Diffstat (limited to 'contrib/libucl')
-rw-r--r--contrib/libucl/src/mum.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libucl/src/mum.h b/contrib/libucl/src/mum.h
index ae6eec1..8bc8af8 100644
--- a/contrib/libucl/src/mum.h
+++ b/contrib/libucl/src/mum.h
@@ -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)))
OpenPOWER on IntegriCloud