From: Niels Möller Date: Mon, 16 Oct 2017 19:57:37 +0000 (+0200) Subject: Enable debug info when CC_FOR_BUILD is gcc. X-Git-Tag: nettle_3.4rc1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8904bb7e4ddf80e759c03ce6f9d7be1d543bd8fa;p=thirdparty%2Fnettle.git Enable debug info when CC_FOR_BUILD is gcc. * aclocal.m4 (GMP_PROG_CC_FOR_BUILD): Add -g when compiling with gcc. --- diff --git a/ChangeLog b/ChangeLog index 0f76805d..91c3fd78 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-10-16 Niels Möller + + * aclocal.m4 (GMP_PROG_CC_FOR_BUILD): Add -g when compiling with + gcc. + 2017-09-24 Niels Möller * tools/pkcs1-conv.c (base64_decode_in_place): New helper diff --git a/aclocal.m4 b/aclocal.m4 index debcf9c7..783dbc49 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -526,7 +526,7 @@ else fi fi if test "$CC_FOR_BUILD" = gcc ; then - CC_FOR_BUILD="$CC_FOR_BUILD -O" + CC_FOR_BUILD="$CC_FOR_BUILD -O -g" fi fi