You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
876 B

  1. --- a/auto/endianness
  2. +++ b/auto/endianness
  3. @@ -21,7 +21,7 @@ int main() {
  4. END
  5. -ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \
  6. +ngx_test="$CC $NGX_CC_OPT $CC_TEST_FLAGS $CC_AUX_FLAGS \
  7. -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs"
  8. eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1"
  9. --- a/auto/feature
  10. +++ b/auto/feature
  11. @@ -39,7 +39,7 @@ int main() {
  12. END
  13. -ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS $ngx_feature_inc_path \
  14. +ngx_test="$CC $NGX_CC_OPT $CC_TEST_FLAGS $CC_AUX_FLAGS $ngx_feature_inc_path \
  15. -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_TEST_LD_OPT $ngx_feature_libs"
  16. ngx_feature_inc_path=
  17. --- a/auto/include
  18. +++ b/auto/include
  19. @@ -27,7 +27,7 @@ int main() {
  20. END
  21. -ngx_test="$CC -o $NGX_AUTOTEST $NGX_AUTOTEST.c"
  22. +ngx_test="$CC $NGX_CC_OPT -o $NGX_AUTOTEST $NGX_AUTOTEST.c"
  23. eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1"