Package: postgresql-filedump / 9.3.0-2

hardening Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: USe LDFLAGS to build

--- postgresql-filedump-9.3.0.orig/Makefile
+++ postgresql-filedump-9.3.0/Makefile
@@ -18,7 +18,7 @@ DISTFILES= README.pg_filedump Makefile M
 all: pg_filedump
 
 pg_filedump: pg_filedump.o
-	${CC} ${CFLAGS} -o pg_filedump pg_filedump.o
+	${CC} ${LDFLAGS} -o pg_filedump pg_filedump.o
 
 pg_filedump.o: pg_filedump.c
 	${CC} ${CFLAGS} -I${PGSQL_INCLUDE_DIR} pg_filedump.c -c