3 @@ -21,7 +21,7 @@ int main() {
7 -ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \
8 +ngx_test="$CC $NGX_CC_OPT $CC_TEST_FLAGS $CC_AUX_FLAGS \
9 -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs"
11 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1"
14 @@ -39,7 +39,7 @@ int main() {
18 -ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS $ngx_feature_inc_path \
19 +ngx_test="$CC $NGX_CC_OPT $CC_TEST_FLAGS $CC_AUX_FLAGS $ngx_feature_inc_path \
20 -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_TEST_LD_OPT $ngx_feature_libs"
25 @@ -27,7 +27,7 @@ int main() {
29 -ngx_test="$CC -o $NGX_AUTOTEST $NGX_AUTOTEST.c"
30 +ngx_test="$CC $NGX_CC_OPT -o $NGX_AUTOTEST $NGX_AUTOTEST.c"
32 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1"