ppp (latest: ppp-2.4.0b2-2) does not honor the RPM_OPT_FLAGS. There is a slight modification in ppp-2.3.11-make.patch which adds "$(RPM_OPT_FLAGS)" to COPTS in ppp-2.3.10/pppstats/Makefile.linux, but this is not the way to go anyway. Rather just call 'make' as 'make COPTS="$RPM_OPT_FLAGS'. Furthermore, there are many more Makefiles in the ppp package. I am providing a patch which moves all the CC optimization parameters into "COPTS" variables, and allows for calling 'make COPTS="$RPM_OPT_FLAGS'. Tested. (Other observations: ppp-2.3.11-make.patch is actually against 2.3.10 :->)
Created attachment 3423 [details] Optimization variable adjustment to enable RPM_OPT_FLAGS handling
Sorry, meant to say ppp-2.3.11-7. Patch applies against 2.4.0, which is current, and works with older and newer kernels. (To be tested of course. :->) The patch applies nicely on 2.3.11 as well.
Please verify this with a newer version of Red Hat Enterprise Linux or Fedora Core and reopen it against the new version if it still occurs. Closing as "not a bug" for now.