Commit c873862c by Mark Mitchell Committed by Mark Mitchell

* lib/objc.exp: Add -lposix4 on Solaris 2.8.

From-SVN: r41968
parent 99dc5306
2001-05-11 Mark Mitchell <mark@codesourcery.com>
* lib/objc.exp: Add -lposix4 on Solaris 2.8.
2001-05-10 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20010313-1.c: New test.
......
......@@ -122,6 +122,12 @@ 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
# sched_get_priority_max and such.
if [ishost "sparc-sun-solaris2.8"] {
lappend options "libs=-lposix4"
}
if { [target_info needs_status_wrapper]!="" && [info exists gluefile] } {
lappend options "libs=${gluefile}"
lappend options "ldflags=$wrap_flags"
......
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