From fb003a8b68e7dedbc622293bee0d170bf939daa6 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Sun, 6 Dec 2020 07:48:26 -0700 Subject: [PATCH 1/3] fixed CXXFLAGS with --enable-developer --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 872f5ff36d..3785830e3a 100644 --- a/configure.ac +++ b/configure.ac @@ -53,7 +53,7 @@ AC_ARG_ENABLE([developer], ) AM_CONDITIONAL([BES_DEVELOPER], [test "x$enable_developer" = "xyes"]) AM_COND_IF([BES_DEVELOPER], - [cxx_debug_flags="-g3 -O0 -Wall -W -Wcast-align" + [cxx_debug_flags="-g3 -O0 -Wall -W -Wcast-align $CXXFLAGS" AC_MSG_NOTICE([Developer Mode is enabled.]) ], [AC_DEFINE([NDEBUG], [1], [Define this to suppress assert() statements.]) AC_MSG_NOTICE([Developer Mode is disabled.])] From 38b9f4cc6037f304785ae2cb85f1747a4e9129e2 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Sun, 6 Dec 2020 07:49:33 -0700 Subject: [PATCH 2/3] undid CXXFLAGS with --enable-developer --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3785830e3a..872f5ff36d 100644 --- a/configure.ac +++ b/configure.ac @@ -53,7 +53,7 @@ AC_ARG_ENABLE([developer], ) AM_CONDITIONAL([BES_DEVELOPER], [test "x$enable_developer" = "xyes"]) AM_COND_IF([BES_DEVELOPER], - [cxx_debug_flags="-g3 -O0 -Wall -W -Wcast-align $CXXFLAGS" + [cxx_debug_flags="-g3 -O0 -Wall -W -Wcast-align" AC_MSG_NOTICE([Developer Mode is enabled.]) ], [AC_DEFINE([NDEBUG], [1], [Define this to suppress assert() statements.]) AC_MSG_NOTICE([Developer Mode is disabled.])] From 151a710aff6f743a84d9f119d2da50b41fb02d12 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Sun, 6 Dec 2020 07:50:21 -0700 Subject: [PATCH 3/3] fixed CXXFLAGS with --enable-developer --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 872f5ff36d..3785830e3a 100644 --- a/configure.ac +++ b/configure.ac @@ -53,7 +53,7 @@ AC_ARG_ENABLE([developer], ) AM_CONDITIONAL([BES_DEVELOPER], [test "x$enable_developer" = "xyes"]) AM_COND_IF([BES_DEVELOPER], - [cxx_debug_flags="-g3 -O0 -Wall -W -Wcast-align" + [cxx_debug_flags="-g3 -O0 -Wall -W -Wcast-align $CXXFLAGS" AC_MSG_NOTICE([Developer Mode is enabled.]) ], [AC_DEFINE([NDEBUG], [1], [Define this to suppress assert() statements.]) AC_MSG_NOTICE([Developer Mode is disabled.])]