: CPPFLAGS += $(shell pkg-config --cflags gtkmm-2.4)
$(sources_using_moz:%.cpp=.objs/%.o) \
- : CPPFLAGS += $(shell pkg-config --cflags $(moz_pc)) $(moz_cppflags_extra)
+ : CPPFLAGS += $(filter-out -fshort-wchar, \
+ $(shell pkg-config --cflags $(moz_pc)) $(moz_cppflags_extra))
# Non-virtual destructors are fine in XPCOM interface classes since
# instances are only ever called by the Release function which is virtual.
$(sources_using_moz:%.cpp=.objs/%.o) : CXXFLAGS += -Wno-non-virtual-dtor