summaryrefslogtreecommitdiff
path: root/ltcf-c.sh
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2004-07-21 19:21:41 +0000
committerJim Wilson <wilson@tuliptree.org>2004-07-21 19:21:41 +0000
commit0012930b8ccde2cd7db35bf33d5a1e0470c0c37c (patch)
treee4731b9495c96788c5b53a5cc1c97f8248f44cf1 /ltcf-c.sh
parent44333604a0381600b0e40dc4ab182252790fb6bb (diff)
downloadgdb-0012930b8ccde2cd7db35bf33d5a1e0470c0c37c.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-c.sh')
-rw-r--r--ltcf-c.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/ltcf-c.sh b/ltcf-c.sh
index d60a3baa19b..e73ff16f7f8 100644
--- a/ltcf-c.sh
+++ b/ltcf-c.sh
@@ -185,7 +185,7 @@ EOF
whole_archive_flag_spec='-all_load $convenience'
;;
- 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=
@@ -409,7 +409,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
@@ -456,7 +456,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