package/systemd: fix build with -Ofast
PATCH v2 1/1 package/systemd: fix build with -Ofast
Update -Ofast workaround as suggested by Yann E. Morin to avoid the following build failure raised since bump to version 252.4 in commit a2c823d1f548d5a0120d27d6c000603192360f7b and
https://github.com/systemd/systemd/commit/60f97fee2d2f948c8e8963ea8ff767008cb93cae:
../output-1/build/systemd-252.4/meson.build:397:8: ERROR: Problem encountered: -Ofast, -ffast-math, or -ffinite-math-only is specified in c_args.
Fixes:
- http://autobuild.buildroot.org/results/8f41c4984b645851724e554c3162b83bc312bee7
---
Changes v1 -> v2 (after review of Thomas Petazzoni and Yann E. Morin):
- Update workaround instead of disabling with -Ofast
package/systemd/systemd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/systemd/systemd.mk +1 -1
@@ -100,7 +100,7 @@ SYSTEMD_CONF_OPTS += \ SYSTEMD_CFLAGS = $(TARGET_CFLAGS) ifeq ($(BR2_OPTIMIZE_FAST),y) -SYSTEMD_CFLAGS += -O3 +SYSTEMD_CFLAGS += -O3 -fno-finite-math-only endif ifeq ($(BR2_nios2),y)
Signature · 6 lines
2.39.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 7 lines · On Fri, 24 Feb 2023 17:15:43 +0100 Fabrice Fontaine…
Update -Ofast workaround as suggested by Yann E. Morin to avoid the following build failure raised since bump to version 252.4 in commit
a2c823d1f548d5a0120d27d6c000603192360f7band
https://github.com/systemd/systemd/commit/60f97fee2d2f948c8e8963ea8ff767008cb93cae:../output-1/build/systemd-252.4/meson.build:397:8: ERROR: Problem encountered: -Ofast, -ffast-math, or -ffinite-math-only is specified in
c_args.
Quoted 7 lines
Fixes:
- http://autobuild.buildroot.org/results/8f41c4984b645851724e554c3162b83bc312bee7Signed-off-by Fabrice Fontaine <[email protected]>---
Changes v1 -> v2 (after review of Thomas Petazzoni and Yann E. Morin):
- Update workaround instead of disabling with -Ofast
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot