File tree Expand file tree Collapse file tree 3 files changed +20
-6
lines changed Expand file tree Collapse file tree 3 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 4
4
# Makefile for the bootstrap module
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.6 1997/04/04 10:38:58 scrappy Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.7 1997/04/15 17:24:07 scrappy Exp $
8
8
#
9
9
#
10
10
# We must build bootparse.c and bootscanner.c with yacc and lex and sed,
@@ -25,7 +25,11 @@ INCLUDE_OPT= -I.. \
25
25
-I../port/$(PORTNAME ) \
26
26
-I../../include
27
27
28
- CFLAGS+ = $(INCLUDE_OPT ) -Wno-error
28
+ CFLAGS+ = $(INCLUDE_OPT )
29
+
30
+ ifeq ($CC), gcc)
31
+ CFLAGS+ = -Wno-error
32
+ endif
29
33
30
34
BOOTYACCS = bootstrap_tokens.h bootparse.c
31
35
Original file line number Diff line number Diff line change 5
5
#
6
6
# Copyright (c) 1994, Regents of the University of California
7
7
#
8
- # $Id: Makefile,v 1.5 1997/04/04 10:39:50 scrappy Exp $
8
+ # $Id: Makefile,v 1.6 1997/04/15 17:24:17 scrappy Exp $
9
9
#
10
10
# -------------------------------------------------------------------------
11
11
@@ -16,7 +16,12 @@ INCLUDE_OPT = -I../.. \
16
16
-I../../port/$(PORTNAME ) \
17
17
-I../../../include
18
18
19
- CFLAGS+ =$(INCLUDE_OPT ) -Wno-error
19
+ CFLAGS+ =$(INCLUDE_OPT )
20
+
21
+ ifeq ($CC), gcc)
22
+ CFLAGS+ = -Wno-error
23
+ endif
24
+
20
25
21
26
OBJS = geqo_copy.o geqo_eval.o geqo_main.o geqo_misc.o \
22
27
geqo_params.o geqo_paths.o geqo_pool.o geqo_recombination.o \
Original file line number Diff line number Diff line change 4
4
# Makefile for parser
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/parser/Makefile,v 1.6 1997/04/04 10:40:11 scrappy Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/parser/Makefile,v 1.7 1997/04/15 17:24:26 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -15,7 +15,12 @@ INCLUDE_OPT= -I.. \
15
15
-I../port/$(PORTNAME ) \
16
16
-I../../include
17
17
18
- CFLAGS+ = $(INCLUDE_OPT ) -Wno-error
18
+ CFLAGS+ = $(INCLUDE_OPT )
19
+
20
+ ifeq ($CC), gcc)
21
+ CFLAGS+ = -Wno-error
22
+ endif
23
+
19
24
20
25
OBJS = analyze.o catalog_utils.o dbcommands.o gram.o \
21
26
keywords.o parser.o parse_query.o scan.o scansup.o sysfunc.o
You can’t perform that action at this time.
0 commit comments