[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:
Albert Cheng 2005-07-07 23:55:17 -05:00
parent 078a6a45ba
commit 25c0edc3b1

View File

@ -29,7 +29,10 @@ if test "X-" = "X-$cc_flags_set"; then
system_version="`uname -r`" system_version="`uname -r`"
case "$system_version" in case "$system_version" in
5.9*) 5.9*)
# Need the xopenmp flag to build the Fortran library
if test X-$enable_fortran = X-yes; then
LDFLAGS="$LDFLAGS -xopenmp=stubs" LDFLAGS="$LDFLAGS -xopenmp=stubs"
fi
;; ;;
esac esac