summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d35887a..3c6a055 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,7 +72,8 @@ AC_ARG_WITH([debug],
AS_IF([test "x$with_debug" == "xyes"],
[AC_MSG_WARN([*** Building with debug support!])
- CXXFLAGS="$CXXFLAGS -Wall -Werror -g -Wl,--no-undefined"
+ CXXFLAGS="$CXXFLAGS -Wall -Werror -g"
+ LDFLAGS="$LDFLAGS -Wl,--no-undefined"
HUGIN_PARM=""]
)