Skip to content

Commit 88ec246

Browse files
committed
Remove -w compile option in configure test.
Not all C compilers have a -w option.
1 parent 9404df5 commit 88ec246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ EOF
442442
if test $shared -eq 1; then
443443
echo Checking for shared library support... | tee -a configure.log
444444
# we must test in two steps (cc then ld), required at least on SunOS 4.x
445-
if try $CC -w -c $SFLAGS $test.c &&
445+
if try $CC -c $SFLAGS $test.c &&
446446
try $LDSHARED $SFLAGS -o $test$shared_ext $test.o; then
447447
echo Building shared library $SHAREDLIBV with $CC. | tee -a configure.log
448448
elif test -z "$old_cc" -a -z "$old_cflags"; then

0 commit comments

Comments
 (0)