| Message ID | 20260412105750.3342374-1-martin.jansa@gmail.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | apr: remove -std=gnu23 from apr_rules.mk to fix reproducibility | expand |
diff --git a/meta/recipes-support/apr/apr_1.7.6.bb b/meta/recipes-support/apr/apr_1.7.6.bb index 86fac1e4c8..9a7a8ddd74 100644 --- a/meta/recipes-support/apr/apr_1.7.6.bb +++ b/meta/recipes-support/apr/apr_1.7.6.bb @@ -87,6 +87,8 @@ do_configure:append() { do_install:append() { oe_multilib_header apr.h install -d ${D}${datadir}/apr + # avoid reproducibility issue, -std=gnu23 is used only on hosts with gcc-14 and newer + sed -i '/^CC_FOR_BUILD=/s/-std=gnu23//g' ${D}${datadir}/build-1/apr_rules.mk } do_install:append:class-target() {