re PR libgcj/6068 (libgcj build picks up libgcj.spec from install tree)

* configure.in: Add FLAGS_FOR_TARGET to GCJ_FOR_TARGET.
	Fixes PR libgcj/6068.

From-SVN: r52038
This commit is contained in:
Tom Tromey 2002-04-08 18:57:57 +00:00 committed by Tom Tromey
parent 6613372140
commit 90def2b26c
2 changed files with 9 additions and 0 deletions

View File

@ -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.

View 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
: