diff options
Diffstat (limited to 'main/gcc/libada-cross-shared.patch')
-rw-r--r-- | main/gcc/libada-cross-shared.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/gcc/libada-cross-shared.patch b/main/gcc/libada-cross-shared.patch new file mode 100644 index 0000000000..0678f9cafe --- /dev/null +++ b/main/gcc/libada-cross-shared.patch @@ -0,0 +1,22 @@ +--- gcc-4.8.2/libada/configure.ac.orig 2013-01-14 22:15:04.000000000 +0400 ++++ gcc-4.8.2/libada/configure.ac 2014-01-21 06:53:04.254453731 +0400 +@@ -127,7 +127,7 @@ + AC_PROG_LN_S + + # Determine what to build for 'gnatlib' +-if test $build = $target \ ++if test $host = $target \ + && test ${enable_shared} = yes ; then + # Note that build=target is almost certainly the wrong test; FIXME + default_gnatlib_target="gnatlib-shared" +--- gcc-4.8.2/libada/configure.orig 2013-10-16 11:27:58.000000000 +0400 ++++ gcc-4.8.2/libada/configure 2014-01-21 06:53:26.727581207 +0400 +@@ -2951,7 +2951,7 @@ + + + # Determine what to build for 'gnatlib' +-if test $build = $target \ ++if test $host = $target \ + && test ${enable_shared} = yes ; then + # Note that build=target is almost certainly the wrong test; FIXME + default_gnatlib_target="gnatlib-shared" |