From b53b7b0413d4898b9bd73cd30e8d433b8893a66d Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Mon, 26 Jun 2017 19:58:43 +0300 Subject: Build on Solaris 11 fixed. --- auto/clang | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'auto') diff --git a/auto/clang b/auto/clang index fc69bf6f..dc434940 100644 --- a/auto/clang +++ b/auto/clang @@ -87,6 +87,19 @@ nxt_feature_test="int main() { . auto/feature +nxt_feature="GCC __builtin_clz()" +nxt_feature_name=NXT_HAVE_BUILTIN_CLZ +nxt_feature_run= +nxt_feature_incs= +nxt_feature_libs= +nxt_feature_test="int main() { + if (__builtin_clz(1) == 31) + return 0; + return 1; + }" +. auto/feature + + nxt_feature="GCC __attribute__ visibility" nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_VISIBILITY nxt_feature_run= -- cgit