15 |
# optfile should work. |
# optfile should work. |
16 |
# d) You can replace -fPIC with -mcmodel=medium which may perform faster |
# d) You can replace -fPIC with -mcmodel=medium which may perform faster |
17 |
# than -fPIC and still support data sizes over 2GB per process but all |
# than -fPIC and still support data sizes over 2GB per process but all |
18 |
# the libraries you link to myst be compiled with -fPIC or -mcmodel=medium |
# the libraries you link to must be compiled with -fPIC or -mcmodel=medium |
19 |
# e) Changed from -O3 to -O2 to avoid buggy Intel v.10 compilers. Speed |
# e) Changed from -O3 to -O2 to avoid buggy Intel v.10 compilers. Speed |
20 |
# impact appears to be minimal. |
# impact appears to be minimal. |
21 |
|
|
49 |
LIBS='' |
LIBS='' |
50 |
|
|
51 |
if test "x$DEVEL" != x ; then |
if test "x$DEVEL" != x ; then |
52 |
FFLAGS='-w95 -W0 -WB -convert big_endian -assume byterecl -fPIC -O0 -g -noalign -fpstkchk -check all -fpe0 -traceback -ftrapuv -fpmodel except -warn all' |
FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl -fPIC -O0 -g -noalign -fpstkchk -check all -fpe0 -traceback -ftrapuv -fpmodel except -warn all" |
53 |
else |
else |
54 |
FFLAGS='-w95 -W0 -WB -convert big_endian -assume byterecl -fPIC' |
FFLAGS="-$FFLAGS w95 -W0 -WB -convert big_endian -assume byterecl -fPIC" |
55 |
fi |
fi |
56 |
#- might want to use '-r8' for fizhi pkg: |
#- might want to use '-r8' for fizhi pkg: |
57 |
#FFLAGS="$FFLAGS -r8" |
#FFLAGS="$FFLAGS -r8" |