aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/lang-specs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/lang-specs.h')
-rw-r--r--gcc/fortran/lang-specs.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/fortran/lang-specs.h b/gcc/fortran/lang-specs.h
index c3ab970..61a9118 100644
--- a/gcc/fortran/lang-specs.h
+++ b/gcc/fortran/lang-specs.h
@@ -32,9 +32,15 @@
#define F951_CPP_OPTIONS "%{!nocpp: -cpp=%g.f90 %{E} %(cpp_unique_options) \
%{E|M|MM:%(cpp_debug_options) " CPP_ONLY_OPTIONS \
" -fsyntax-only};: " CPP_FORWARD_OPTIONS "}"
+
+#ifndef TARGET_F951_OPTIONS
+#define TARGET_F951_OPTIONS
+#endif
+
#define F951_OPTIONS "%(cc1_options) %{J*} \
- %{!nostdinc:-fintrinsic-modules-path finclude%s}\
- %{!fsyntax-only:%(invoke_as)}"
+ %{!nostdinc:-fintrinsic-modules-path finclude%s}" \
+ TARGET_F951_OPTIONS \
+ "%{!fsyntax-only:%(invoke_as)}"
#define F951_SOURCE_FORM "%{!ffree-form:-ffixed-form}"