summaryrefslogtreecommitdiffhomepage
path: root/auto/endianess
diff options
context:
space:
mode:
Diffstat (limited to 'auto/endianess')
-rw-r--r--auto/endianess5
1 files changed, 4 insertions, 1 deletions
diff --git a/auto/endianess b/auto/endianess
index 578dd4513..db6420de5 100644
--- a/auto/endianess
+++ b/auto/endianess
@@ -20,7 +20,10 @@ int main() {
END
-eval "${CC} -o $NGX_AUTOTEST $NGX_AUTOTEST.c >> $NGX_ERR 2>&1"
+ngx_test="$CC $CC_TEST_FLAGS $CC_WARN $CC_AUX_FLAGS \
+ -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs"
+
+eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1"
if [ -x $NGX_AUTOTEST ]; then
if $NGX_AUTOTEST 2>&1 > /dev/null; then