summaryrefslogtreecommitdiffstats
path: root/ltcf-gcj.sh
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-27 06:14:30 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-27 06:14:30 +0000
commita2718648919e464dcbb576267062f5a157076122 (patch)
treee64b0130d1ae56cd5986c8c2906fbc5b187a7793 /ltcf-gcj.sh
parent2be990303bb3a1afc3dd9c896876fa5d2d2118f6 (diff)
downloadppe42-gcc-a2718648919e464dcbb576267062f5a157076122.tar.gz
ppe42-gcc-a2718648919e464dcbb576267062f5a157076122.zip
Patch from Robert Millan.
Add patches from libtool CVS. * libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu. * ltconfig: Likewise. * ltcf-c.sh: Likewise. * ltcf-cxx.sh: Likewise. * ltcf-gcj.sh: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81213 138bc75d-0d04-0410-961f-82ee72b054a4
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 ac4fbbca3d4..950dd003177 100644
--- a/ltcf-gcj.sh
+++ b/ltcf-gcj.sh
@@ -178,7 +178,7 @@ EOF
$CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
;;
- netbsd*)
+ netbsd* | knetbsd*-gnu)
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
wlarc=
@@ -445,7 +445,7 @@ else
;;
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
- freebsd*)
+ freebsd* | kfreebsd*-gnu)
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
@@ -476,7 +476,7 @@ else
link_all_deplibs=yes
;;
- netbsd*)
+ netbsd* | knetbsd*-gnu)
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
else
OpenPOWER on IntegriCloud