PostgreSQL allows to use "COPT" environment variable to add optional
compiler flags at make time.
https://www.postgresql.org/docs/current/install-make.html#CONFIGURE-ENVVARS
Unfortunately pgpool does not have such a mechanism. Attached small
patch adds support for "COPT".
Comments and suggestions are welcome.
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp