Commit ce29729a by Mark Mitchell Committed by Mark Mitchell

* lib/objc.exp: Add -lposix4 on Solaris 2.6 and Solaris 2.7.

From-SVN: r42065
parent 7f09a9dc
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> 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
* lib/g++.exp: Use testsuite_flags. * lib/g++.exp: Use testsuite_flags.
......
...@@ -122,9 +122,9 @@ proc objc_target_compile { source dest type options } { ...@@ -122,9 +122,9 @@ proc objc_target_compile { source dest type options } {
set ld_library_path "." set ld_library_path "."
lappend options "libs=-lobjc" 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. # sched_get_priority_max and such.
if [ishost "sparc-sun-solaris2.8"] { if [istarget {sparc-sun-solaris2.[678]} ] {
lappend options "libs=-lposix4" lappend options "libs=-lposix4"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment