* ltcf-cxx.sh: Replace $linker_flags with $compiler_flags wherever
it is used as argument to $CC. * ltcf-gcj.sh: Likewise.
This commit is contained in:
parent
51dcf2858d
commit
cbdf5bdb49
|
@ -1,3 +1,9 @@
|
||||||
|
2003-02-19 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* ltcf-cxx.sh: Replace $linker_flags with $compiler_flags wherever
|
||||||
|
it is used as argument to $CC.
|
||||||
|
* ltcf-gcj.sh: Likewise.
|
||||||
|
|
||||||
2003-02-19 Alexandre Oliva <aoliva@redhat.com>
|
2003-02-19 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
* configure.in: Introduce --enable-maintainer-mode.
|
* configure.in: Introduce --enable-maintainer-mode.
|
||||||
|
|
12
ltcf-cxx.sh
12
ltcf-cxx.sh
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# ltcf-cxx.sh - Create a C++ compiler specific configuration
|
# ltcf-cxx.sh - Create a C++ 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
|
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
|
||||||
#
|
#
|
||||||
# Original C++ support by:Gary V. Vaughan <gvv@techie.com>
|
# Original C++ support by:Gary V. Vaughan <gvv@techie.com>
|
||||||
|
@ -323,7 +323,7 @@ case $host_os in
|
||||||
if test "$with_gnu_ld" = no; then
|
if test "$with_gnu_ld" = no; then
|
||||||
archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
|
archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
|
||||||
else
|
else
|
||||||
archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -o $lib'
|
archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -o $lib'
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||||
|
@ -610,9 +610,9 @@ case $host_os in
|
||||||
if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then
|
if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then
|
||||||
no_undefined_flag=' ${wl}-z ${wl}defs'
|
no_undefined_flag=' ${wl}-z ${wl}defs'
|
||||||
if $CC --version | egrep -v '^2\.7' > /dev/null; then
|
if $CC --version | egrep -v '^2\.7' > /dev/null; then
|
||||||
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~
|
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
|
# Commands to make compiler produce verbose output that lists
|
||||||
# what "hidden" libraries, object files and flags are used when
|
# what "hidden" libraries, object files and flags are used when
|
||||||
|
@ -621,9 +621,9 @@ case $host_os in
|
||||||
else
|
else
|
||||||
# g++ 2.7 appears to require `-G' NOT `-shared' on this
|
# g++ 2.7 appears to require `-G' NOT `-shared' on this
|
||||||
# platform.
|
# platform.
|
||||||
archive_cmds='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $linker_flags ${wl}-h $wl$soname -o $lib'
|
archive_cmds='$CC -G -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~
|
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
|
||||||
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags~$rm $lib.exp'
|
$CC -G -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
|
# Commands to make compiler produce verbose output that lists
|
||||||
# what "hidden" libraries, object files and flags are used when
|
# what "hidden" libraries, object files and flags are used when
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# ltcf-gcj.sh - Create a GCJ compiler specific configuration
|
# 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
|
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
|
||||||
#
|
#
|
||||||
# Original GCJ support by:
|
# Original GCJ support by:
|
||||||
|
@ -492,9 +492,9 @@ else
|
||||||
|
|
||||||
solaris*)
|
solaris*)
|
||||||
no_undefined_flag=' ${wl}-z ${wl}defs'
|
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~
|
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
|
# Commands to make compiler produce verbose output that lists
|
||||||
# what "hidden" libraries, object files and flags are used when
|
# what "hidden" libraries, object files and flags are used when
|
||||||
|
|
Loading…
Reference in New Issue