I'm trying to debug an apache module on RHEL and the optimization is getting in the way. I tried deleting the '-O2' from EXTRA_CFLAGS
in apache_2.2.4/build/config_vars.mk, b
ut it didn't help. APXS is sufficiently complex (and my perl sufficiently poor) that I'm at a loss as to how to figure out how this flag is getting set.
Anybody know how to turn off the optimizer? (so the debugger can work nicely).
TIA.