diff --git a/libsigsegv.spec b/libsigsegv.spec index 9dd6d2b..74d4736 100644 --- a/libsigsegv.spec +++ b/libsigsegv.spec @@ -74,7 +74,7 @@ available. %build %add_optflags -g3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE %if 0%(case "%optflags" in (*-flto*) echo 1;; esac) -%global optflags %(echo -n "%optflags" | sed -r "s@-flto@-ffat-lto-objects@") +%add_optflags -ffat-lto-objects %endif %configure \ --with-gnu-ld \