aboutsummaryrefslogtreecommitdiff
path: root/libffi/configure.ac
diff options
context:
space:
mode:
authorAnthony Green <green@gcc.gnu.org>2009-12-31 17:44:32 +0000
committerAnthony Green <green@gcc.gnu.org>2009-12-31 17:44:32 +0000
commita761df3da467bf2f7fcd5730379d0576b8fa9910 (patch)
tree413bf962b43b4c0fe1180b5401b187f3dcb74d07 /libffi/configure.ac
parent0d6f2a8037b2040d04556fe3c07dc506defba5bf (diff)
downloadgcc-a761df3da467bf2f7fcd5730379d0576b8fa9910.zip
gcc-a761df3da467bf2f7fcd5730379d0576b8fa9910.tar.gz
gcc-a761df3da467bf2f7fcd5730379d0576b8fa9910.tar.bz2
Windows patch
From-SVN: r155540
Diffstat (limited to 'libffi/configure.ac')
-rw-r--r--libffi/configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/libffi/configure.ac b/libffi/configure.ac
index f101f49..a398839 100644
--- a/libffi/configure.ac
+++ b/libffi/configure.ac
@@ -2,7 +2,7 @@ dnl Process this with autoconf to create configure
AC_PREREQ(2.64)
-AC_INIT([libffi], [3.0.8], [http://gcc.gnu.org/bugs.html])
+AC_INIT([libffi], [3.0.9], [http://gcc.gnu.org/bugs.html])
AC_CONFIG_HEADERS([fficonfig.h])
AM_ENABLE_MULTILIB(, ..)
@@ -82,6 +82,8 @@ case "$host" in
;;
i?86-win32* | i?86-*-cygwin* | i?86-*-mingw*)
TARGET=X86_WIN32; TARGETDIR=x86
+ # All mingw/cygwin/win32 builds require this for sharedlib
+ AM_LTLDFLAGS="-no-undefined"
;;
i?86-*-darwin*)
TARGET=X86_DARWIN; TARGETDIR=x86
@@ -160,6 +162,7 @@ case "$host" in
esac
AC_SUBST(AM_RUNTESTFLAGS)
+AC_SUBST(AM_LTLDFLAGS)
if test $TARGETDIR = unknown; then
AC_MSG_ERROR(["libffi has not been ported to $host."])