diff mbox series

Add -g back to ABIGAIL_DEVEL

Message ID 86r1vha2qc.fsf@seketeli.org
State Committed
Headers show
Series Add -g back to ABIGAIL_DEVEL | expand

Commit Message

Dodji Seketeli May 18, 2020, 11:42 a.m. UTC
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 mbox series

Patch

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