[PATCH] Add -g back to ABIGAIL_DEVEL
Dodji Seketeli
dodji@seketeli.org
Mon May 18 11:42:35 GMT 2020
Hello,
I forgot to set the -g option in C{XX}FLAGS when applying the patch
https://sourceware.org/git/?p=libabigail.git;a=commit;h=d02de5a7846d7f44621c1e100e60f36f5a0c051e.
Oops.
Fixed thus.
* configure.ac: Don't forget to set -g when ABIGAIL_DEVEL is set.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 36296d6..225ac38 100644
--- a/configure.ac
+++ b/configure.ac
@@ -617,8 +617,8 @@ DEPS_LIBS="$XML_LIBS $LIBZIP_LIBS $ELF_LIBS $DW_LIBS"
AC_SUBST(DEPS_LIBS)
if test x$ABIGAIL_DEVEL != x; then
- CFLAGS="-Og -Wall -Wextra -Werror -D_FORTIFY_SOURCE=2"
- CXXFLAGS="-Og -Wall -Wextra -Werror -D_FORTIFY_SOURCE=2 -D_GLIBCXX_DEBUG"
+ CFLAGS="-g -Og -Wall -Wextra -Werror -D_FORTIFY_SOURCE=2"
+ CXXFLAGS="-g -Og -Wall -Wextra -Werror -D_FORTIFY_SOURCE=2 -D_GLIBCXX_DEBUG"
fi
if test x$ABIGAIL_DEBUG != x; then
--
1.8.3.1
--
Dodji
More information about the Libabigail
mailing list