From ce29729adfaf82fa599537c3e085cda1edc4ed2f Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Mon, 14 May 2001 07:49:11 +0000 Subject: [PATCH] * lib/objc.exp: Add -lposix4 on Solaris 2.6 and Solaris 2.7. From-SVN: r42065 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/lib/objc.exp | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6c1d501a0ab..416219803a5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-05-14 Mark Mitchell + + * lib/objc.exp: Add -lposix4 on Solaris 2.6 and Solaris 2.7. + 2001-05-13 Benjamin Kosnik * lib/g++.exp: Use testsuite_flags. diff --git a/gcc/testsuite/lib/objc.exp b/gcc/testsuite/lib/objc.exp index fa13657f93c..ebe7a47e064 100644 --- a/gcc/testsuite/lib/objc.exp +++ b/gcc/testsuite/lib/objc.exp @@ -122,9 +122,9 @@ proc objc_target_compile { source dest type options } { set ld_library_path "." lappend options "libs=-lobjc" - # On Solaris 2.8, we need to include libposix4 inorder to get + # On Solaris 2.8, we need to include libposix4 in order to get # sched_get_priority_max and such. - if [ishost "sparc-sun-solaris2.8"] { + if [istarget {sparc-sun-solaris2.[678]} ] { lappend options "libs=-lposix4" } -- 2.30.2