Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable -ffinite-math-only for sys-apps/systemd #872

Open
Xpeq7 opened this issue Feb 8, 2023 · 0 comments
Open

disable -ffinite-math-only for sys-apps/systemd #872

Xpeq7 opened this issue Feb 8, 2023 · 0 comments

Comments

@Xpeq7
Copy link

Xpeq7 commented Feb 8, 2023

compilation of =sys-apps/systemd-252.4-r1 (haven't checked other versions) with
CFLAGS="-O3 ${GRAPHITE} ${DEVIRTLTO} ${IPAPTA} ${SEMINTERPOS} ${FLTO} ${NOCOMMON} ${SAFER_FAST_MATH} ${NOPLT} -fuse-linker-plugin"
exits before compiling anything with
../systemd-stable-252.4/meson.build:397:8: ERROR: Problem encountered: -Ofast, -ffast-math, or -ffinite-math-only is specified in c_args.
Fixed by appending:
sys-apps/systemd *FLAGS-='-ffinite-math-only'
to one of files from /etc/portage/package.cflags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant