wxwidgets.eclass: Define -DNDEBUG when building against wxGTK:3.0
authorRyan Hill <rhill@gentoo.org>
Fri, 23 Oct 2015 05:19:44 +0000 (23:19 -0600)
committerRyan Hill <rhill@gentoo.org>
Sat, 24 Oct 2015 05:14:21 +0000 (23:14 -0600)
commit277aa8e05065e73499e8e24cfa9f24221348b4b3
tree16f1513c764567247a5420705d1855856b3bc913
parent84c5c9db7a7630fb28cb7daa92290e65615e9e00
wxwidgets.eclass: Define -DNDEBUG when building against wxGTK:3.0

In wxGTK 3.0 debugging support is always enabled in the library and
it's up to packages to state if they want to use it or not.  When
enabled this makes warning dialogs pop up any time an assertion
is encountered, which isn't very user friendly.  This disables that
behavior by adding -DNDEBUG to CPPFLAGS unless the package has a
debug USE flag and it is enabled.

Gentoo-Bug: https://bugs.gentoo.org/562480
eclass/wxwidgets.eclass