aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-02-19 23:51:28 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-02-19 23:51:28 +0000
commitb7e4a93120d624e352c42b82d10d90a683907ac3 (patch)
tree7055809f147d5e95509ccb607b8b6b0bdfd0bf1a /ltcf-gcj.sh
parent* configure.in: Introduce --enable-maintainer-mode. (diff)
downloadbinutils-gdb-b7e4a93120d624e352c42b82d10d90a683907ac3.tar.gz
binutils-gdb-b7e4a93120d624e352c42b82d10d90a683907ac3.tar.bz2
binutils-gdb-b7e4a93120d624e352c42b82d10d90a683907ac3.zip
* ltcf-cxx.sh: Replace $linker_flags with $compiler_flags wherever
it is used as argument to $CC. * ltcf-gcj.sh: Likewise.
Diffstat (limited to 'ltcf-gcj.sh')
-rw-r--r--ltcf-gcj.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/ltcf-gcj.sh b/ltcf-gcj.sh
index d33278a5969..2d704975c86 100644
--- a/ltcf-gcj.sh
+++ b/ltcf-gcj.sh
@@ -2,7 +2,7 @@
# ltcf-gcj.sh - Create a GCJ compiler specific configuration
#
-# Copyright (C) 1996-1999, 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 1996-1999, 2000, 2001, 2003 Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# Original GCJ support by:
@@ -492,9 +492,9 @@ else
solaris*)
no_undefined_flag=' ${wl}-z ${wl}defs'
- archive_cmds='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $linker_flags ${wl}-h $wl$soname -o $lib'
+ archive_cmds='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags~$rm $lib.exp'
+ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
# Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when