Moved -Werror to COPT.

This commit is contained in:
Bruce Momjian 1996-11-11 03:12:00 +00:00
parent 1a5b4b9ffe
commit 8d9be647dc
1 changed files with 6 additions and 5 deletions

View File

@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # 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 # NOTES
# This is seen by any Makefiles that include mk/postgres.mk. To # This is seen by any Makefiles that include mk/postgres.mk. To
@ -59,7 +59,7 @@
# to change it in Makefile.custom. # to change it in Makefile.custom.
# make sure that you have no whitespaces after the PORTNAME setting # make sure that you have no whitespaces after the PORTNAME setting
# or the makefiles can get confused # 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 # 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 # 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 # 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 # 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 # Commenting out CASSERT will make things go a LOT faster, but you will
# also loose a lot of useful error-checking. # also loose a lot of useful error-checking.
@ -859,8 +860,8 @@ includedir= $(HEADERDIR)
# #
# Flags for CC and LD. (depend on COPT and PROFILE) # Flags for CC and LD. (depend on COPT and PROFILE)
# #
# PostgreSQL should *always* compile with -Wall -Werror enabled # PostgreSQL should *always* compile with these enabled
CFLAGS+= -Wall -Wmissing-prototypes #-Werror CFLAGS+= -Wall -Wmissing-prototypes
# Globally pass debugging/optimization/profiling flags based # Globally pass debugging/optimization/profiling flags based
# on the options selected above. # on the options selected above.