Build on Solaris 11 fixed.

This commit is contained in:
Max Romanov
2017-06-26 19:58:43 +03:00
parent 9399a04121
commit b53b7b0413
7 changed files with 55 additions and 7 deletions

View File

@@ -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=