|
7 | 7 | # |
8 | 8 | # |
9 | 9 | # 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 $ |
11 | 11 | # |
12 | 12 | # NOTES |
13 | 13 | # This is seen by any Makefiles that include mk/postgres.mk. To |
|
59 | 59 | #to change it in Makefile.custom. |
60 | 60 | # make sure that you have no whitespaces after the PORTNAME setting |
61 | 61 | # or the makefiles can get confused |
62 | | -PORTNAME=BSD44_derived |
| 62 | +PORTNAME=UNKNOWN |
63 | 63 |
|
64 | 64 | # Ignore LINUX_ELF if you're not using Linux. But if you are, and you're |
65 | 65 | # compiling to a.out (which means you're using the dld dynamic loading |
@@ -146,7 +146,8 @@ OIDNAMELEN = 36 |
146 | 146 |
|
147 | 147 | # Set COPT to -O for optimization, or -g for debuggable binaries |
148 | 148 | # 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 |
150 | 151 |
|
151 | 152 | # Commenting out CASSERT will make things go a LOT faster, but you will |
152 | 153 | # also loose a lot of useful error-checking. |
@@ -859,8 +860,8 @@ includedir=$(HEADERDIR) |
859 | 860 | # |
860 | 861 | # Flags for CC and LD. (depend on COPT and PROFILE) |
861 | 862 | # |
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 |
864 | 865 |
|
865 | 866 | # Globally pass debugging/optimization/profiling flags based |
866 | 867 | # on the options selected above. |
|