>>> Configuring source in /var/tmp/portage/games-strategy/wesnoth-1.12/work/wesnoth-1.12.0 ... * please use append-cppflags for preprocessor flags Presumably caused by "append-flags -UNDEBUG" in src_configure.
using append-cppflags isn't good enough so no.