re PR libgcj/6068 (libgcj build picks up libgcj.spec from install tree)
authorTom Tromey <tromey@redhat.com>
Mon, 8 Apr 2002 18:57:57 +0000 (18:57 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Mon, 8 Apr 2002 18:57:57 +0000 (18:57 +0000)
* configure.in: Add FLAGS_FOR_TARGET to GCJ_FOR_TARGET.
Fixes PR libgcj/6068.

From-SVN: r52038

ChangeLog
configure.in

index 3e4a49f..292ec1e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-08  Tom Tromey  <tromey@redhat.com>
+
+       * configure.in: Add FLAGS_FOR_TARGET to GCJ_FOR_TARGET.
+       Fixes PR libgcj/6068.
+
 2002-03-30  Krister Walfridsson  <cato@df.lth.se>
 
        * configure.in (i*86-*-netbsdelf*): Don't disable libgcj.
index c2c5d3f..27a141b 100644 (file)
@@ -1553,6 +1553,10 @@ elif test "$host" = "$target"; then
 else
   GCJ_FOR_TARGET=`echo gcj | sed -e 's/x/x/' ${program_transform_name}`
 fi
+case $GCJ_FOR_TARGET in
+*' $(FLAGS_FOR_TARGET)') ;;
+*) GCJ_FOR_TARGET=$GCJ_FOR_TARGET' $(FLAGS_FOR_TARGET)' ;;
+esac
 
 if test "x${CXX_FOR_TARGET+set}" = xset; then
   :