summaryrefslogtreecommitdiff
path: root/databases/postgresql
diff options
context:
space:
mode:
authorabs <abs>2003-05-29 08:55:48 +0000
committerabs <abs>2003-05-29 08:55:48 +0000
commit92704686c4778476f4b1304f19fc61567d7f6181 (patch)
tree65eae1fba1ec7298ea19106e4332ddaaea1ad373 /databases/postgresql
parentdb5cebf60fdee290b4d23fbd7bb95a1f77850640 (diff)
downloadpkgsrc-92704686c4778476f4b1304f19fc61567d7f6181.tar.gz
Since postgresql explicitly checks for and fails if -ffast-math is set in
CFLAGS, strip it out. No package bump as no change in generated package.
Diffstat (limited to 'databases/postgresql')
-rw-r--r--databases/postgresql/Makefile.common5
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/postgresql/Makefile.common b/databases/postgresql/Makefile.common
index d26f857ade4..eb68bcd8c99 100644
--- a/databases/postgresql/Makefile.common
+++ b/databases/postgresql/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.34 2003/05/22 07:17:06 wiz Exp $
+# $NetBSD: Makefile.common,v 1.35 2003/05/29 08:55:48 abs Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -64,6 +64,9 @@ CONFIGURE_ARGS+= --without-python
CONFIGURE_ARGS+= --without-tcl
CONFIGURE_ARGS+= --without-tk
+# Postgresql explicitly forbids any use of -ffast-math
+CFLAGS:= ${CFLAGS:S/-ffast-math//}
+
post-extract:
if [ -d ${WRKSRC}/src ]; then \
${RM} -f ${WRKSRC}/src/Makefile.custom; \