InBetweenNames / gentooLTO

A Gentoo Portage configuration for building with -O3, Graphite, and LTO optimizations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Xpeq7 opened this issue · comments

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