summaryrefslogtreecommitdiff
path: root/libgfortran/libgfortran.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/libgfortran.spec.in')
-rw-r--r--libgfortran/libgfortran.spec.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/libgfortran/libgfortran.spec.in b/libgfortran/libgfortran.spec.in
new file mode 100644
index 000000000..95aa3f842
--- /dev/null
+++ b/libgfortran/libgfortran.spec.in
@@ -0,0 +1,8 @@
+#
+# This spec file is read by gfortran when linking.
+# It is used to specify the libraries we need to link in, in the right
+# order.
+#
+
+%rename lib liborig
+*lib: @LIBQUADSPEC@ -lm %(libgcc) %(liborig)