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

Commit 3cf53c1

Browse files
committed
Change default install directories to /usr/local/pgsql
Add CFLAGS+= -Wall -Werror (should only affect developers, not users)
1 parent 6fac460 commit 3cf53c1

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/Makefile.global

Lines changed: 8 additions & 4 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.50 1996/11/02 09:49:57 bryanh Exp $
10+
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.51 1996/11/03 06:54:10 scrappy 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= UNDEFINED
62+
PORTNAME= BSD44_derived
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
@@ -71,13 +71,13 @@ LINUX_ELF= 1
7171
ifdef SRCDIR
7272
MKDIR= $(SRCDIR)/mk
7373
else
74-
SRCDIR= /usr/local/postgres95/src
74+
SRCDIR= /usr/local/pgsql/src
7575
endif
7676

7777
# For convenience, POSTGRESDIR is where DATADIR, BINDIR, and LIBDIR
7878
# and other target destinations are rooted. Of course, each of these is
7979
# changable separately.
80-
POSTGRESDIR= /usr/local/postgres95
80+
POSTGRESDIR= /usr/local/pgsql
8181

8282
# POSTGRESLOGIN is the login name of the user who gets special
8383
# privileges within the database. By default it is "postgres", but
@@ -861,9 +861,13 @@ includedir= $(HEADERDIR)
861861
#
862862
# Flags for CC and LD. (depend on CDEBUG and PROFILE)
863863
#
864+
# PostgreSQL should *always* compile with -Wall -Werror enabled
865+
CFLAGS+= -Wall -Werror
864866

865867
# Globally pass debugging/optimization/profiling flags based
866868
# on the options selected above.
869+
870+
867871
ifdef CDEBUG
868872
CFLAGS+= $(CDEBUG)
869873
LDFLAGS+= $(CDEBUG)

0 commit comments

Comments
 (0)