diff options
author | Mark Mitchell <mark@codesourcery.com> | 2001-05-14 07:49:11 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2001-05-14 07:49:11 +0000 |
commit | ce29729adfaf82fa599537c3e085cda1edc4ed2f (patch) | |
tree | 6883b8b2b77ba53b6e7646d7c41d6bf4f575a2fe | |
parent | 7f09a9dcbcc30932d79d075142cb69ce17d8433b (diff) | |
download | gcc-ce29729adfaf82fa599537c3e085cda1edc4ed2f.zip gcc-ce29729adfaf82fa599537c3e085cda1edc4ed2f.tar.gz gcc-ce29729adfaf82fa599537c3e085cda1edc4ed2f.tar.bz2 |
* lib/objc.exp: Add -lposix4 on Solaris 2.6 and Solaris 2.7.
From-SVN: r42065
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/lib/objc.exp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6c1d501..4162198 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-05-14 Mark Mitchell <mark@codesourcery.com> + + * lib/objc.exp: Add -lposix4 on Solaris 2.6 and Solaris 2.7. + 2001-05-13 Benjamin Kosnik <bkoz@redhat.com> * lib/g++.exp: Use testsuite_flags. diff --git a/gcc/testsuite/lib/objc.exp b/gcc/testsuite/lib/objc.exp index fa13657..ebe7a47 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" } |