OSDN Git Service

* lib/objc.exp: Add -lposix4 on Solaris 2.6 and Solaris 2.7.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 May 2001 07:49:11 +0000 (07:49 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 May 2001 07:49:11 +0000 (07:49 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42065 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/lib/objc.exp

index 6c1d501..4162198 100644 (file)
@@ -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.
index fa13657..ebe7a47 100644 (file)
@@ -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"
     }