Skip to content

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

@Xpeq7

Description

@Xpeq7

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions