What's the best way to modify the flags? I tried this but it bombed out...

%ifarch ppc64le
    %global optflags "%{optflags} -fno-inline-small-functions"
%endif

Thanks,
Richard