Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8d9be64

Browse files
committed
Moved -Werror to COPT.
1 parent1a5b4b9 commit8d9be64

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 withthese 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)

[8]ページ先頭

©2009-2025 Movatter.jp