summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/molrep/files/11.0.00-respect-FLAGS.patch')
-rw-r--r--sci-chemistry/molrep/files/11.0.00-respect-FLAGS.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-chemistry/molrep/files/11.0.00-respect-FLAGS.patch b/sci-chemistry/molrep/files/11.0.00-respect-FLAGS.patch
new file mode 100644
index 000000000000..c18b9a1e3f0d
--- /dev/null
+++ b/sci-chemistry/molrep/files/11.0.00-respect-FLAGS.patch
@@ -0,0 +1,12 @@
+diff --git a/src/makefile b/src/makefile
+index 30d0de7..10dd68f 100755
+--- a/src/makefile
++++ b/src/makefile
+@@ -46,6 +46,6 @@ molrep_dummy.o: molrep_dummy.f
+ $(MR_FORT) -c molrep_dummy.f
+
+ molrep: $(OBJS)
+- $(MR_FORT) -o $(BIN)/molrep $(OBJSL) $(MR_LIBRARY)
++ $(MR_FORT) $(LDFLAGS) -o $(BIN)/molrep $(OBJSL) $(MR_LIBRARY)
+
+ # --------------------------------