summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/sfcheck/files/7.03.17-ldflags.patch')
-rw-r--r--sci-chemistry/sfcheck/files/7.03.17-ldflags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-chemistry/sfcheck/files/7.03.17-ldflags.patch b/sci-chemistry/sfcheck/files/7.03.17-ldflags.patch
new file mode 100644
index 000000000000..4163cb52ac1e
--- /dev/null
+++ b/sci-chemistry/sfcheck/files/7.03.17-ldflags.patch
@@ -0,0 +1,12 @@
+diff --git a/src/makefile b/src/makefile
+index ab43d7d..37e469f 100755
+--- a/src/makefile
++++ b/src/makefile
+@@ -60,6 +60,6 @@ main_sfcheck_ccp4.o: main_sfcheck_ccp4.f sfch_version.fh
+ $(MR_FORT) -c main_sfcheck_ccp4.f
+
+ sfcheck: $(OBJS)
+- $(MR_FORT) -o $(BIN)/sfcheck $(OBJSL) $(MR_LIBRARY)
++ $(MR_FORT) $(LDFLAGS) -o $(BIN)/sfcheck $(OBJSL) $(MR_LIBRARY)
+
+ # ----------------------------------------