Upgrading to GitLab 12.0.2.

Commit 8fdbf567 authored by Michael Meskes's avatar Michael Meskes

Added hardening options.

parent e8ff6251
......@@ -18,7 +18,7 @@ DISTFILES= README.pg_filedump Makefile Makefile.contrib \
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
......
......@@ -2,6 +2,7 @@ postgresql-filedump (9.3.0-1) unstable; urgency=medium
* Imported Upstream version 9.3.0
* Canonicalized VCS information.
* Added hardening options.
-- Michael Meskes <meskes@debian.org> Mon, 16 Jun 2014 14:00:41 +0200
......
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
#!/usr/bin/make -f
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
CFLAGS+="$(CPPFLAGS)"
%:
dh $@
override_dh_auto_build:
$(MAKE) PGSQL_INCLUDE_DIR=/usr/include/postgresql/9.3/server
$(MAKE) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" PGSQL_INCLUDE_DIR=/usr/include/postgresql/9.3/server
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment