aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/libada-cross-shared.patch
blob: 0678f9cafefaaf6fd6b8d3df476e218818553f9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"