mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r11051] Purpose: Maintenance
Description: -xopnemp=stabs linking flag is needed on Solaris 2.9 in order to build Fortran library. Solution: Added the flag to LDFLAGS if system version is 5.9 I don't really like the fix since this flag is now always added for 5.9 systems even if Fortran is not enabled. If someone has a better solution, please let me know :-) Platforms tested: shanti, sol Misc. update:
This commit is contained in:
parent
0bc8c7c69b
commit
078a6a45ba
@ -25,6 +25,13 @@ if test "X-" = "X-$cc_flags_set"; then
|
||||
PROFILE_CFLAGS=-xpg
|
||||
PROFILE_CPPFLAGS=
|
||||
cc_flags_set=yes
|
||||
# Special linking flag is needed to build with Fortran on Solaris 5.9
|
||||
system_version="`uname -r`"
|
||||
case "$system_version" in
|
||||
5.9*)
|
||||
LDFLAGS="$LDFLAGS -xopenmp=stubs"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Turn off optimization flag for SUNpro compiler versions 4.x which
|
||||
# have an optimization bug. Version 5.0 works.
|
||||
|
Loading…
Reference in New Issue
Block a user