Don't use -Wno-long-double on OS X - it seems to no longer be supported by
Apple's compilers, and was never supported by FSF GCC on any platform. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3a0e056d63
commit
d1eed0bc8e
1 changed files with 1 additions and 5 deletions
|
|
@ -316,11 +316,7 @@ esac
|
||||||
# Optional CFLAGS used to silence compiler warnings on some platforms.
|
# Optional CFLAGS used to silence compiler warnings on some platforms.
|
||||||
|
|
||||||
AC_SUBST(PLATFLAGS)
|
AC_SUBST(PLATFLAGS)
|
||||||
case $host in
|
PLATFLAGS=
|
||||||
*-*-darwin*) PLATFLAGS="-Wno-long-double";;
|
|
||||||
*) PLATFLAGS="";;
|
|
||||||
esac
|
|
||||||
|
|
||||||
|
|
||||||
# Check for specific libraries. Used for SWIG examples
|
# Check for specific libraries. Used for SWIG examples
|
||||||
AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
|
AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue