From 88ec24670e9c484219392def5f2f4b5e3f839db3 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sat, 20 Jan 2024 18:29:31 -0800 Subject: [PATCH] Remove -w compile option in configure test. Not all C compilers have a -w option. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 0b86d04e0..c55098afc 100755 --- a/configure +++ b/configure @@ -442,7 +442,7 @@ EOF if test $shared -eq 1; then echo Checking for shared library support... | tee -a configure.log # we must test in two steps (cc then ld), required at least on SunOS 4.x - if try $CC -w -c $SFLAGS $test.c && + if try $CC -c $SFLAGS $test.c && try $LDSHARED $SFLAGS -o $test$shared_ext $test.o; then echo Building shared library $SHAREDLIBV with $CC. | tee -a configure.log elif test -z "$old_cc" -a -z "$old_cflags"; then