Commit 6cfb12e0 authored by Bryan Henderson's avatar Bryan Henderson

Add CUSTOM_CC variable for Makefile.custom. Thanks Kurt Lidl.

parent 8cedf57e
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.76 1996/12/04 03:05:45 bryanh Exp $ # $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.77 1996/12/09 01:16:51 bryanh Exp $
# #
# NOTES # NOTES
# Essentially all Postgres make files include this file and use the # Essentially all Postgres make files include this file and use the
...@@ -720,14 +720,18 @@ endif ...@@ -720,14 +720,18 @@ endif
# Common values for COPT are: -g for debuggable binaries, -m486 if you are # Common values for COPT are: -g for debuggable binaries, -m486 if you are
# using a i486 or better. # using a i486 or better.
ifneq ($(CUSTOM_CC),)
CC= $(CUSTOM_CC)
endif
ifneq ($(CUSTOM_COPT),) ifneq ($(CUSTOM_COPT),)
COPT= $(CUSTOM_COPT) COPT= $(CUSTOM_COPT)
else else
ifeq ($(CC), gcc) ifeq ($(CC), gcc)
COPT= -O2 -Werror COPT= -O2 -Werror
else else
COPT= -O COPT= -O
endif endif
endif endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment