summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/pgpool2
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2025-04-26 19:03:58 +0200
committerKhem Raj <raj.khem@gmail.com>2025-04-26 10:31:27 -0700
commit2c816eab0cc9193593114d2bb80542e3225b2b0d (patch)
tree454664d658f45966abeadd53ff99c5b2a693332b /meta-networking/recipes-support/pgpool2
parenta3ef0f5c507a8830c8ebb96fcc7336d252d0381f (diff)
downloadmeta-openembedded-2c816eab0cc9193593114d2bb80542e3225b2b0d.tar.gz
pgpool2: use gnu17 to avoid build failure with gcc-15
* like e.g. gentoo does: https://bugs.gentoo.org/940128 Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/pgpool2')
-rw-r--r--meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb
index ddcad46beb..a2f7665df1 100644
--- a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb
+++ b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb
@@ -48,3 +48,7 @@ do_install:append() {
48 install -D -m 0644 ${S}/src/sample/pool_hba.conf.sample ${D}${sysconfdir}/pgpool-II/pool_hba.conf 48 install -D -m 0644 ${S}/src/sample/pool_hba.conf.sample ${D}${sysconfdir}/pgpool-II/pool_hba.conf
49 install -Dm 0644 ${UNPACKDIR}/pgpool.service ${D}${systemd_system_unitdir}/pgpool.service 49 install -Dm 0644 ${UNPACKDIR}/pgpool.service ${D}${systemd_system_unitdir}/pgpool.service
50} 50}
51
52# Avoid build failure with gcc-15:
53# http://errors.yoctoproject.org/Errors/Details/853019/
54CFLAGS += "-std=gnu17"