Add a -Wno-long-double flag to the compile flags on Mac OS X. Fixes bug

525481. (Probably not a 2.2.1 candidate, unless the fix that introduced a
long double into objimpl.h (rev. 2.44) is backported to 2.2.1).
This commit is contained in:
Jack Jansen 2002-03-12 15:25:52 +00:00
parent 8b68862680
commit 524a098f54
2 changed files with 4 additions and 4 deletions

6
configure vendored
View file

@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# From configure.in Revision: 1.293 # From configure.in Revision: 1.295
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13 # Generated automatically using autoconf version 2.13
@ -1428,7 +1428,7 @@ then
fi fi
case $ac_sys_system in case $ac_sys_system in
AIX*) AIX*)
LINKCC="\$(srcdir)/Modules/makexp_aix Modules/python.exp \"\" \$(LIBRARY); $(LINKCC)";; LINKCC="\$(srcdir)/Modules/makexp_aix Modules/python.exp \"\" \$(LIBRARY); $LINKCC";;
dgux*) dgux*)
LINKCC="LD_RUN_PATH=$libdir $(LINKCC)";; LINKCC="LD_RUN_PATH=$libdir $(LINKCC)";;
Monterey64*) Monterey64*)
@ -1689,7 +1689,7 @@ then
esac esac
case $ac_sys_system in case $ac_sys_system in
Darwin*) Darwin*)
OPT="$OPT -no-cpp-precomp";; OPT="$OPT -Wno-long-double -no-cpp-precomp";;
esac esac
fi fi

View file

@ -398,7 +398,7 @@ then
esac esac
case $ac_sys_system in case $ac_sys_system in
Darwin*) Darwin*)
OPT="$OPT -no-cpp-precomp";; OPT="$OPT -Wno-long-double -no-cpp-precomp";;
esac esac
fi fi