aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1996-11-11 03:12:00 +0000
committerBruce Momjian <bruce@momjian.us>1996-11-11 03:12:00 +0000
commit8d9be647dc2186166ba27236cec30790357d962a (patch)
tree891d19e4dd5ccdadaeed1fa1fea15ca8a1fd7fbb
parent1a5b4b9ffe098d0fd518b815ea1a0b5693b12b1e (diff)
downloadpostgresql-8d9be647dc2186166ba27236cec30790357d962a.tar.gz
postgresql-8d9be647dc2186166ba27236cec30790357d962a.zip
Moved -Werror to COPT.
-rw-r--r--src/Makefile.global11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Makefile.global b/src/Makefile.global
index d8dfa9c72b0..7717224e9ef 100644
--- a/src/Makefile.global
+++ b/src/Makefile.global
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.59 1996/11/10 17:35:58 momjian Exp $
+# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.60 1996/11/11 03:12:00 momjian Exp $
#
# NOTES
# This is seen by any Makefiles that include mk/postgres.mk. To
@@ -59,7 +59,7 @@
# to change it in Makefile.custom.
# make sure that you have no whitespaces after the PORTNAME setting
# or the makefiles can get confused
-PORTNAME= BSD44_derived
+PORTNAME= UNKNOWN
# Ignore LINUX_ELF if you're not using Linux. But if you are, and you're
# compiling to a.out (which means you're using the dld dynamic loading
@@ -146,7 +146,8 @@ OIDNAMELEN = 36
# Set COPT to -O for optimization, or -g for debuggable binaries
# Many people prefer -O2, and -m486 if you are using a i486 or better
-COPT= -O
+# Use -Werror to stop the compile when any warnings occur
+COPT= -O #-Werror
# Commenting out CASSERT will make things go a LOT faster, but you will
# also loose a lot of useful error-checking.
@@ -859,8 +860,8 @@ includedir= $(HEADERDIR)
#
# Flags for CC and LD. (depend on COPT and PROFILE)
#
-# PostgreSQL should *always* compile with -Wall -Werror enabled
-CFLAGS+= -Wall -Wmissing-prototypes #-Werror
+# PostgreSQL should *always* compile with these enabled
+CFLAGS+= -Wall -Wmissing-prototypes
# Globally pass debugging/optimization/profiling flags based
# on the options selected above.