blob: 226897fd98a800856db60c6914f1f7afde4aeecc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
@@ -11,9 +11,9 @@
# Flags used for the Fortran compiler, similar in spirit to CFLAGS. Read
# linkman:gfortran[1] for more details on the available flags.
-FFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt \
- -Wp,-D_FORTIFY_SOURCE=3 -fstack-clash-protection -fcf-protection \
- -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
+FFLAGS="-mabi=lp64d -march=loongarch64 -mlsx -O2 -pipe -fno-plt -mcmodel=medium \
+ -Wp,-D_FORTIFY_SOURCE=3 -fstack-clash-protection \
+ -fno-omit-frame-pointer"
FCFLAGS="$FFLAGS"
# Additional compiler flags appended to `FFLAGS` and `FCFLAGS` for use in debugging. Usually
|