File: fortify.patch

package info (click to toggle)
spherepack 3.2-7
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,940 kB
  • ctags: 3,045
  • sloc: fortran: 18,323; python: 5,763; makefile: 58
file content (18 lines) | stat: -rw-r--r-- 676 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Add $(LDFLAGS) for hardening the library
Last-Updated: 2013-05-19
Forwarded: not-needed

Index: spherepack-3.2/Src/Makefile
===================================================================
--- spherepack-3.2.orig/Src/Makefile	2014-01-10 09:55:50.000000000 +0000
+++ spherepack-3.2/Src/Makefile	2014-01-10 09:56:34.000000000 +0000
@@ -17,7 +17,7 @@
 	ln -sf $(SONAME) $@
 
 shlib $(SONAME): $(PIC_OBJS)
-	$(FC) -Wl,--as-needed -shared -o $(SONAME) $(SHLIBFLAGS) $(PIC_OBJS) -lc
+	$(FC) $(LDFLAGS) -Wl,--as-needed -shared -o $(SONAME) $(SHLIBFLAGS) $(PIC_OBJS) -lc
 
 install:
 	mkdir -p $(DESTDIR)$(PREFIX)/lib