summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/fox/fox-1.7.67-r2.ebuild')
-rw-r--r--x11-libs/fox/fox-1.7.67-r2.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11-libs/fox/fox-1.7.67-r2.ebuild b/x11-libs/fox/fox-1.7.67-r2.ebuild
index bdb35e3c427f..4a551ea3f2b8 100644
--- a/x11-libs/fox/fox-1.7.67-r2.ebuild
+++ b/x11-libs/fox/fox-1.7.67-r2.ebuild
@@ -70,10 +70,13 @@ src_configure() {
append-flags -fno-strict-aliasing
filter-lto
+ use debug || append-cppflags -DNDEBUG
+
+ # Not using --enable-release because of the options it sets like no SSP
econf \
--disable-static \
- --enable-$(usex debug debug release) \
$(use_enable bzip2 bz2lib) \
+ $(use_enable debug) \
$(use_enable jpeg) \
$(use_with opengl) \
$(use_enable png) \