summaryrefslogtreecommitdiff
path: root/lib/make
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-09-24 15:42:18 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-09-24 15:42:18 +0000
commitd253fb3cc56855e8daeb13238921a79a74676dde (patch)
treedc31d36ad557595d5771759bac6e92f4f39d28d9 /lib/make
parent321eee2aa3f78b00ec6208ceff46791df94b3471 (diff)
Support the new Intel C++/C/Fortran compilers on IA64.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2384 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make')
-rw-r--r--lib/make/known-architectures/linux28
1 files changed, 13 insertions, 15 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux
index 62f3d51e..80229869 100644
--- a/lib/make/known-architectures/linux
+++ b/lib/make/known-architectures/linux
@@ -172,21 +172,19 @@ else
: ${LIBS="fortran ffio m"}
;;
Intel)
- case "$host_cpu" in
- i?86)
- : ${F77FLAGS='-132 -w95'}
- : ${F90FLAGS='-132 -w95'}
- : ${F77_OPTIMISE_FLAGS='-O3'}
- : ${F90_OPTIMISE_FLAGS='-O3'}
- : ${LIBS="IEPCF90 F90 m"}
- if test "$CC" != "icc" -a -n "$IA32ROOT" ; then
- : ${LIBDIRS='$(IA32ROOT)/lib'}
- fi
- ;;
- *)
- : ${LIBS="IEPCF90 F90 C m"}
- ;;
- esac
+ : ${F77FLAGS='-132 -w95'}
+ : ${F90FLAGS='-132 -w95'}
+ : ${F77_OPTIMISE_FLAGS='-O3'}
+ : ${F90_OPTIMISE_FLAGS='-O3'}
+ : ${LIBS="IEPCF90 F90 m"}
+
+ # add the libpath if the linker is not Intel
+ if test "$LD" != "icc" -a -n "$IA32ROOT" ; then
+ : ${LIBDIRS='$(IA32ROOT)/lib'}
+ fi
+ if test "$LD" != "ecc" -a -n "$IA64ROOT" ; then
+ : ${LIBDIRS='$(IA64ROOT)/lib'}
+ fi
;;
Compaq)
: ${LIBS="for m"}