]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.ac (AM_LTLDFLAGS): Add -no-undefine for x64 windows target.
authorKai Tietz <ktietz@redhat.com>
Fri, 10 Feb 2012 16:45:53 +0000 (17:45 +0100)
committerKai Tietz <ktietz@gcc.gnu.org>
Fri, 10 Feb 2012 16:45:53 +0000 (17:45 +0100)
        * configure.ac (AM_LTLDFLAGS): Add -no-undefine for x64
        windows target.
        * configure: Regenerated

From-SVN: r184104

libffi/ChangeLog
libffi/configure
libffi/configure.ac

index 24c256cc7713a7cda4b994b69598e7fc4a45ad8a..da3a19793dd258734ccb438d699ec486ddd86b0c 100644 (file)
@@ -1,3 +1,9 @@
+2012-02-10  Kai Tietz  <ktietz@redhat.com>
+
+       * configure.ac (AM_LTLDFLAGS): Add -no-undefine for x64
+       windows target.
+       * configure: Regenerated
+
 2011-11-20  Andreas Tobler  <andreast@fgznet.ch>
 
        * configure: Regenerate.
index 8f3b068f09fbb100db8291e6277e3425b0407f6a..6b38089d8c847371e76fc296d9058911ad7026e6 100755 (executable)
@@ -11435,6 +11435,15 @@ case "$host" in
 
   x86_64-*-cygwin* | x86_64-*-mingw*)
        TARGET=X86_WIN64; TARGETDIR=x86
+       # All mingw/cygwin/win32 builds require -no-undefined for sharedlib.
+       # We must also check with_cross_host to decide if this is a native
+       # or cross-build and select where to install dlls appropriately.
+       if test -n "$with_cross_host" &&
+          test x"$with_cross_host" != x"no"; then
+         AM_LTLDFLAGS='-no-undefined -bindir "$(toolexeclibdir)"';
+       else
+         AM_LTLDFLAGS='-no-undefined -bindir "$(bindir)"';
+       fi
        ;;
 
   x86_64-*-*)
index d16155a40fb839f8a6e23a27e7a098f7e101d153..c923670c573f6893b8c48d5a75984566288d35f5 100644 (file)
@@ -166,6 +166,15 @@ case "$host" in
 
   x86_64-*-cygwin* | x86_64-*-mingw*)
        TARGET=X86_WIN64; TARGETDIR=x86
+       # All mingw/cygwin/win32 builds require -no-undefined for sharedlib.
+       # We must also check with_cross_host to decide if this is a native
+       # or cross-build and select where to install dlls appropriately.
+       if test -n "$with_cross_host" &&
+          test x"$with_cross_host" != x"no"; then
+         AM_LTLDFLAGS='-no-undefined -bindir "$(toolexeclibdir)"';
+       else
+         AM_LTLDFLAGS='-no-undefined -bindir "$(bindir)"';
+       fi
        ;;
 
   x86_64-*-*)