mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Document usage of COPT environment variable for adjusting configure flags.
Also add to the existing rather half-baked description of PROFILE, which does exactly the same thing, but I think people use it differently. Discussion: https://postgr.es/m/16461.1487361849@sss.pgh.pa.us
This commit is contained in:
@ -582,6 +582,11 @@ ifneq ($(CUSTOM_COPT),)
|
||||
COPT= $(CUSTOM_COPT)
|
||||
endif
|
||||
|
||||
#
|
||||
# These variables are meant to be set in the environment of "make"
|
||||
# to add flags to whatever configure picked. Unlike the ones above,
|
||||
# they are documented.
|
||||
#
|
||||
ifdef COPT
|
||||
CFLAGS += $(COPT)
|
||||
LDFLAGS += $(COPT)
|
||||
|
Reference in New Issue
Block a user