On Wed, Nov 27, 2013 at 12:01:50PM +0400, Yury Gribov wrote: > As discussed in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59106 > only a subset of libubsan should be built with RTTI support. > Attached patch adds custom build rules for relevant files.
We assume GNU make I think, I wonder if this can't be done through just adding -fno-rtti to AM_CXXFLAGS and say ubsan_handlers_cxx.% ubsan_type_hash.% : AM_CXXFLAGS += -frtti Jakub