Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8d9be64

Browse files
committed
Moved -Werror to COPT.
1 parent 1a5b4b9 commit 8d9be64

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/Makefile.global

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.59 1996/11/10 17:35:58 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.60 1996/11/11 03:12:00 momjian Exp $
1111
#
1212
# NOTES
1313
# This is seen by any Makefiles that include mk/postgres.mk. To
@@ -59,7 +59,7 @@
5959
# to change it in Makefile.custom.
6060
# make sure that you have no whitespaces after the PORTNAME setting
6161
# or the makefiles can get confused
62-
PORTNAME= BSD44_derived
62+
PORTNAME= UNKNOWN
6363

6464
# Ignore LINUX_ELF if you're not using Linux. But if you are, and you're
6565
# compiling to a.out (which means you're using the dld dynamic loading
@@ -146,7 +146,8 @@ OIDNAMELEN = 36
146146

147147
# Set COPT to -O for optimization, or -g for debuggable binaries
148148
# Many people prefer -O2, and -m486 if you are using a i486 or better
149-
COPT= -O
149+
# Use -Werror to stop the compile when any warnings occur
150+
COPT= -O #-Werror
150151

151152
# Commenting out CASSERT will make things go a LOT faster, but you will
152153
# also loose a lot of useful error-checking.
@@ -859,8 +860,8 @@ includedir= $(HEADERDIR)
859860
#
860861
# Flags for CC and LD. (depend on COPT and PROFILE)
861862
#
862-
# PostgreSQL should *always* compile with -Wall -Werror enabled
863-
CFLAGS+= -Wall -Wmissing-prototypes #-Werror
863+
# PostgreSQL should *always* compile with these enabled
864+
CFLAGS+= -Wall -Wmissing-prototypes
864865

865866
# Globally pass debugging/optimization/profiling flags based
866867
# on the options selected above.

0 commit comments

Comments
 (0)