diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-07-11 17:26:27 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-07-11 17:26:27 +1000 |
commit | e3e5a06c05c4391871c232e165e5e6098a377a15 (patch) | |
tree | a57680ee953f8144d7cb920fd9d29d1fe75f5bce /extract-gcov.c | |
parent | 5ed5d231c58eb9aa57a7680ab60c5b249bdea5d7 (diff) | |
download | skiboot-e3e5a06c05c4391871c232e165e5e6098a377a15.zip skiboot-e3e5a06c05c4391871c232e165e5e6098a377a15.tar.gz skiboot-e3e5a06c05c4391871c232e165e5e6098a377a15.tar.bz2 |
Fix GCOV_COUNTERS ifdef logic for GCC 6.0
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'extract-gcov.c')
-rw-r--r-- | extract-gcov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extract-gcov.c b/extract-gcov.c index a9298fa..3d31d1b 100644 --- a/extract-gcov.c +++ b/extract-gcov.c @@ -33,7 +33,7 @@ typedef u32 gcov_unsigned_int; /* You will need to pass -DTARGET__GNUC__=blah when building */ -#if TARGET__GNUC__ >= 5 && TARGET__GNUC_MINOR__ >= 1 +#if TARGET__GNUC__ >= 6 || (TARGET__GNUC__ >= 5 && TARGET__GNUC_MINOR__ >= 1) #define GCOV_COUNTERS 10 #else #if TARGET__GNUC__ >= 4 && TARGET__GNUC_MINOR__ >= 9 |