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

Commit6cfb12e

Browse files
author
Bryan Henderson
committed
Add CUSTOM_CC variable for Makefile.custom. Thanks Kurt Lidl.
1 parent8cedf57 commit6cfb12e

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

‎src/Makefile.global

Lines changed: 11 additions & 7 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.76 1996/12/04 03:05:45 bryanh Exp $
10+
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.77 1996/12/09 01:16:51 bryanh Exp $
1111
#
1212
# NOTES
1313
# Essentially all Postgres make files include this file and use the
@@ -720,14 +720,18 @@ endif
720720
# Common values for COPT are: -g for debuggable binaries, -m486 if you are
721721
# using a i486 or better.
722722

723+
ifneq ($(CUSTOM_CC),)
724+
CC= $(CUSTOM_CC)
725+
endif
726+
723727
ifneq ($(CUSTOM_COPT),)
724-
COPT= $(CUSTOM_COPT)
728+
COPT= $(CUSTOM_COPT)
725729
else
726-
ifeq ($(CC), gcc)
727-
COPT= -O2 -Werror
728-
else
729-
COPT= -O
730-
endif
730+
ifeq ($(CC), gcc)
731+
COPT= -O2 -Werror
732+
else
733+
COPT= -O
734+
endif
731735
endif
732736

733737

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp