Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vQwkJ-002ktU-0j for pgpool-hackers@arkaria.postgresql.org; Wed, 03 Dec 2025 23:58:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vQwkH-00H9EG-1h for pgpool-hackers@arkaria.postgresql.org; Wed, 03 Dec 2025 23:58:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vQwkH-00H9E9-19 for pgpool-hackers@lists.postgresql.org; Wed, 03 Dec 2025 23:58:53 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vQwkF-0030Jo-18 for pgpool-hackers@lists.postgresql.org; Wed, 03 Dec 2025 23:58:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Content-Transfer-Encoding:Content-Type: Mime-Version:From:Subject:To:Message-Id:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:In-Reply-To:References; bh=9PUJwF2/+xUQqPOEBgO16A2Zh+DEGdoP1kJsMJQ2OOA=; b=FnsXCF+kvHEvxtpdK5RgvMIg/q 0EC4mS6nWUA85w3nm5/uAN//opi0+d+TVKDkFaxJYsPK6+Rhw1VGrxt0YPaygL0BxlONjKT7Fclzb wEqoORe0v/wgY8Jvj7z4cIuDcIXexDytodg5Vkw0SmiPGhZJL1OCTSp3USyaAjBf1g9vhDRoScgjj BV+CDpMojdE0zrfxI81ER75b4lemiCe0aQ/POIvI5KQ/uR8BNXhYvbmONURgBcSh66NjRPfdIjFlr Vj/JuecxiinoxwwPVaf1ukiOFJ4ts6oRiKxZ7kZE5f1DVmho22UvgVWkfKgXd6G8WiA8K1E3S5k+S YJ41A4fg==; Received: from [2409:11:4120:300:de8f:d5dd:32a9:2819] (helo=localhost) by meldrar.postgresql.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vQwkC-006vFv-0d for pgpool-hackers@lists.postgresql.org; Wed, 03 Dec 2025 23:58:50 +0000 Date: Thu, 04 Dec 2025 08:58:39 +0900 (JST) Message-Id: <20251204.085839.2241185461656668319.ishii@postgresql.org> To: pgpool-hackers@lists.postgresql.org Subject: Allow to add compile option to CFLAGS From: Tatsuo Ishii X-Mailer: Mew version 6.8 on Emacs 29.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2409:11:4120:300:de8f:d5dd:32a9:2819 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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