mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r11052] Purpose:
improvement. Description: make the adding of -xopnemp=stabs linking flag only when enable-fortran is set. Platforms tested: Tested in shanti only.
This commit is contained in:
parent
078a6a45ba
commit
25c0edc3b1
@ -29,8 +29,11 @@ if test "X-" = "X-$cc_flags_set"; then
|
||||
system_version="`uname -r`"
|
||||
case "$system_version" in
|
||||
5.9*)
|
||||
LDFLAGS="$LDFLAGS -xopenmp=stubs"
|
||||
;;
|
||||
# Need the xopenmp flag to build the Fortran library
|
||||
if test X-$enable_fortran = X-yes; then
|
||||
LDFLAGS="$LDFLAGS -xopenmp=stubs"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Turn off optimization flag for SUNpro compiler versions 4.x which
|
||||
|
Loading…
Reference in New Issue
Block a user