summaryrefslogtreecommitdiffstats
path: root/www/apache20/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache20/Makefile')
-rw-r--r--www/apache20/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/www/apache20/Makefile b/www/apache20/Makefile
index e8f6087..ae35d07 100644
--- a/www/apache20/Makefile
+++ b/www/apache20/Makefile
@@ -100,10 +100,15 @@ CFLAGS+= -DSSL_EXPERIMENTAL_ENGINE
.endif
# debug overrides CFLAGS
-.if defined(WITH_DEBUG) || defined (DEBUG_FLAGS)
+.if defined(WITH_DEBUG)
DEBUG_FLAGS?= -O0 -g -ggdb3
CFLAGS= ${DEBUG_FLAGS}
CONFIGURE_ARGS+= --enable-maintainer-mode
+WITH_EXCEPTION_HOOK= YES
+.endif
+
+.if defined(WITH_EXCEPTION_HOOK)
+CONFIGURE_ARGS+= --enable-exception-hook
.endif
# for slave ports
OpenPOWER on IntegriCloud