From e70410eabf0115819624acd5ca1bd6fb24150887 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 18 Jun 2020 20:10:47 +0200 Subject: Disable hugin when not compling with debug enabled. --- configure.ac | 3 +++ hugin | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3716732..41440bc 100644 --- a/configure.ac +++ b/configure.ac @@ -9,6 +9,7 @@ AM_SILENT_RULES([yes]) dnl ====================== dnl Compile with debug options dnl ====================== +HUGIN_PARM="-DDISABLE_HUGIN" AC_ARG_WITH(debug, [ --with-debug build with debug support (default=no)], [], @@ -17,7 +18,9 @@ if test x$with_debug == xyes; then AC_MSG_WARN([*** Building with debug support!]) AC_DEFINE_UNQUOTED(WITH_DEBUG, , [The project is configured to use debug output]) CXXFLAGS="$CXXFLAGS -fstack-protector -Wall -Werror -g -O0" + HUGIN_PARM="" fi +CXXFLAGS="$CXXFLAGS $HUGIN_PARM" dnl ====================== dnl Init pkg-config diff --git a/hugin b/hugin index 0882726..a42fbcc 160000 --- a/hugin +++ b/hugin @@ -1 +1 @@ -Subproject commit 08827265399f3f69f7f25512e991f67da5bbac63 +Subproject commit a42fbcc9dd03a6a6c24b494b683b370bd5173335 -- cgit v1.2.3