diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-09-14 16:13:47 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-09-14 16:13:47 +0000 |
commit | 001f61b93ee501327c7d48013053935b617e359b (patch) | |
tree | 0483fbd6f44bc30ae24a764a8757fc114c1a6c8b /lib/make/known-architectures/uxpv4.1_ES | |
parent | 45ac077cb951bc230b9f78f1075b8722330a1602 (diff) |
Updated for several types of linker commands.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2361 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures/uxpv4.1_ES')
-rw-r--r-- | lib/make/known-architectures/uxpv4.1_ES | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/lib/make/known-architectures/uxpv4.1_ES b/lib/make/known-architectures/uxpv4.1_ES index 0035c8b3..1c3c4cf0 100644 --- a/lib/make/known-architectures/uxpv4.1_ES +++ b/lib/make/known-architectures/uxpv4.1_ES @@ -27,14 +27,22 @@ else : ${F77_OPTIMISE_FLAGS='-Kfast -Of'} : ${F90_OPTIMISE_FLAGS='$(F77_OPTIMISE_FLAGS)'} - if test "$LD" = "CC" ; then - # C++ compiler only takes static libs by default - # but we also want socket lib - : ${LIBS="fj90fv fj90f fj90 fj90f"} - : ${LDFLAGS="-d y /usr/lib/libsocket.so /usr/lib/libvfl.so"} - else - : ${LIBS="fj90fv fj90f fj90 socket"} - fi + case "$LD" in + vcc | CC) + # native linker only takes static libs by default + # but we also want socket lib + : ${LIBS="fj90fv fj90f fj90 fj90f"} + : ${LDFLAGS="-d y /usr/lib/libsocket.so /usr/lib/libvfl.so"} + ;; + cc) + : ${LIBS="fj90fv fj90f fj90 fj90f socket vfl elf m gen fjsamp px"} + : ${LDFLAGS="-L/usr/lang/lib"} + ;; + *) + echo "Unknown linker $LD, don\'t know what libs to link with." + exit 2 + ;; + esac # MPI stuff if test -n "$MPI" ; then @@ -44,4 +52,3 @@ else fi fi - |