Ok - very convincing example ... in attach a diff on current rules.make
with implemented support for adding file-specific compiler flags and
specifying file-specific filter-out patterns for compiler flags ... with
these changes, the base library (and Stephen as well) can remove their
hacks, and simply do -
mframe.m_FILE_FILTER_OUT_FLAGS = -O%
NSConnection.m_FILE_FILTER_OUT_FLAGS = -O%
NSInvocation.m_FILE_FILTER_OUT_FLAGS = -O%
to disable optimization flags for those specific files ... now the only
point is ... is it ok to apply to gnustep-make considering that it is in
prerelease state ?
it shouldn't break too much I think, but I didn't really test it
extensively.