(In reply to Takashi Iwai from comment #5) > Thanks. > > One of tricks there is to pass -flto-partition=none in addition to -flto. > Is it OK to define (override) _lto_cflags in the spec file like: > > %define _lto_cflags -flto -flto-partition=none > > ?? Yes, please do the following: %build %global _lto_cflags %{_lto_cflags} -flto-partition=none