summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hints/linux.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index 8dbe32f4dd..7f348ef951 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -88,6 +88,15 @@ case "`${cc:-cc} -V 2>&1`" in
optimize='-xO2'
cccdlflags='-KPIC'
lddlflags='-G -Bdynamic'
+ # Sun C doesn't support gcc attributes, but, in many cases, doesn't
+ # complain either. Not all cases, though.
+ d_attribute_format='undef'
+ d_attribute_malloc='undef'
+ d_attribute_nonnull='undef'
+ d_attribute_noreturn='undef'
+ d_attribute_pure='undef'
+ d_attribute_unused='undef'
+ d_attribute_warn_unused_result='undef'
;;
esac