diff options
author | Jim Wilson <wilson@tuliptree.org> | 2004-07-21 19:21:41 +0000 |
---|---|---|
committer | Jim Wilson <wilson@tuliptree.org> | 2004-07-21 19:21:41 +0000 |
commit | 61edac0ce677aaae55a153fe54eabd116865f425 (patch) | |
tree | d3eda9b84c0b920905e639fb51a6f2f450b397d4 /ltcf-gcj.sh | |
parent | 543613e9336603e177592f09ec42df2f99a2ed37 (diff) | |
download | binutils-gdb-61edac0ce677aaae55a153fe54eabd116865f425.tar.gz |
knetbsd/kfreebsd patches from Robert Millan.
* libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu.
* ltconfig: Likewise.
* ltcf-c.sh: Likewise.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.
Diffstat (limited to 'ltcf-gcj.sh')
-rw-r--r-- | ltcf-gcj.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ltcf-gcj.sh b/ltcf-gcj.sh index 2d704975c86..95c6fcd353a 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= @@ -402,7 +402,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 @@ -433,7 +433,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 |