From defc8355cf70dfced84d83ec22db5288c3bba974 Mon Sep 17 00:00:00 2001 From: Kean Johnston Date: Sat, 5 Nov 2005 11:20:46 +0000 Subject: [PATCH] * ltmain.in (link mode) [*-*-sco3.2v5*]: Don't pass through -lc, nor add it to deplibs. [*-*-sysv5*]: Ditto. [*-*-openbsd*, *-*-freebsd*, *-*-dragonfly*]: Remove bogus `$arg'. --- ChangeLog | 9 +++++++++ ltmain.in | 16 +++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d98d1829b..cff8777dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2005-11-05 Kean Johnston , + Ralf Wildenhues + + * ltmain.in (link mode) [*-*-sco3.2v5*]: Don't pass through -lc, + nor add it to deplibs. + [*-*-sysv5*]: Ditto. + [*-*-openbsd*, *-*-freebsd*, *-*-dragonfly*]: Remove bogus + `$arg'. + 2005-11-04 Ralf Wildenhues * THANKS: Updated. diff --git a/ltmain.in b/ltmain.in index 0f20c96f0..d33daa3bf 100644 --- a/ltmain.in +++ b/ltmain.in @@ -1495,6 +1495,15 @@ EOF # Rhapsody C and math libraries are in the System framework deplibs="$deplibs -framework System" continue + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + test "X$arg" = "X-lc" && continue + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + test "X$arg" = "X-lc" && continue + ;; esac elif test "X$arg" = "X-lc_r"; then case $host in @@ -3375,7 +3384,12 @@ EOF ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. - test "X$arg" = "X-lc" && continue + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work ;; *) # Add libc to deplibs on all other systems if necessary. -- 2.47.3