Applying Haiku compatibility.

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29034 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2009-01-26 05:09:46 +00:00
parent a84f174425
commit 9d51e40ad3
25 changed files with 457 additions and 25 deletions

13
gcc/libssp/configure vendored
View File

@@ -6567,7 +6567,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
fi
;;
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
beos* | haiku* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
# PIC is the default for these OSes.
;;
@@ -7203,6 +7203,11 @@ _LT_EOF
fi
;;
haiku*)
allow_undefined_flag=unsupported
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
;;
interix[3-9]*)
hardcode_direct=no
hardcode_shlibpath_var=no
@@ -8682,6 +8687,12 @@ gnu*)
hardcode_into_libs=yes
;;
haiku*)
library_names_spec='${libname}${shared_ext}'
dynamic_linker="$host_os ld.so"
shlibpath_var=LIBRARY_PATH
;;
hpux9* | hpux10* | hpux11*)
# Give a soname corresponding to the major version so that dld.sl refuses to
# link against other versions.