File: hardingflags.patch

package info (click to toggle)
pgsql-ogr-fdw 1.1.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 696 kB
  • sloc: ansic: 4,114; makefile: 62; sql: 36; sh: 15
file content (14 lines) | stat: -rw-r--r-- 402 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Use LDFLAGS for hardeningflags.
Author: Bas Couwenberg <sebastic@debian.org>

--- a/Makefile
+++ b/Makefile
@@ -73,7 +73,7 @@ CFLAGS = $(GDAL_CFLAGS)
 LIBS = $(GDAL_LIBS)
 
 ogr_fdw_info$(X): ogr_fdw_info.o ogr_fdw_common.o stringbuffer.o
-	$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
 
 clean-exe:
 	rm -f ogr_fdw_info$(X) ogr_fdw_info.o stringbuffer.o