Also provide pg_filedump so we can some day rename this package according to upstream conventions. Resolves: rhbz#1424261 Version: 9.6.0-1
21 lines
668 B
Diff
21 lines
668 B
Diff
diff --git a/Makefile b/Makefile
|
|
index 29c1057..c45c907 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -4,7 +4,6 @@
|
|
FD_VERSION=9.6.0
|
|
|
|
CC=gcc
|
|
-CFLAGS=-g -O -Wall -Wmissing-prototypes -Wmissing-declarations
|
|
|
|
# If working with a PG source directory, point PGSQL_INCLUDE_DIR to its
|
|
# src/include subdirectory. If working with an installed tree, point to
|
|
@@ -13,6 +12,8 @@ PG_CONFIG=pg_config
|
|
PGSQL_INCLUDE_DIR=$(shell $(PG_CONFIG) --includedir-server)
|
|
PGSQL_LIB_DIR=$(shell $(PG_CONFIG) --libdir)
|
|
|
|
+CFLAGS=$(shell $(PG_CONFIG) --cflags)
|
|
+LDFLAGS=$(shell $(PG_CONFIG) --ldflags)
|
|
|
|
DISTFILES= README.pg_filedump Makefile Makefile.contrib \
|
|
pg_filedump.h pg_filedump.c
|