Skip to content
Snippets Groups Projects
Commit 1b779e7d authored by Maxim Cournoyer's avatar Maxim Cournoyer Committed by Adrien Béraud
Browse files

configure.ac: Clear the implicit default C and C++ flags.


They were being added by Autoconf following our own defaults, leading
to the erroneous -g -O3 -g -O2 options being passed to GCC.  This is
documented in the C Compiler and C++ Compiler sections of the Autoconf
manual.

* configure.ac: Clear the default CFLAGS and CXXFLAGS variables.

Reported-by: default avatarAdrien Beraud <adrien.beraud@savoirfairelinux.com>
Change-Id: Id5e24cb2544ac4492b229746ad7ea1dee7cbb963
parent 03c5b752
Branches
No related tags found
No related merge requests found
...@@ -4,6 +4,12 @@ dnl Process this file with autoconf to produce a configure script. ...@@ -4,6 +4,12 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69]) AC_PREREQ([2.69])
AC_INIT([Jami Daemon],[10.0.0],[jami@gnu.org],[jami]) AC_INIT([Jami Daemon],[10.0.0],[jami@gnu.org],[jami])
dnl Clear the implicit flags that default to '-g -O2', otherwise they
dnl take precedence over the values we set via the
dnl DAEMONCFLAGS/DAEMONCXXFLAGS variables below.
: ${CFLAGS=""}
: ${CXXFLAGS=""}
AC_COPYRIGHT([[Copyright (c) Savoir-faire Linux 2004-2021]]) AC_COPYRIGHT([[Copyright (c) Savoir-faire Linux 2004-2021]])
AC_REVISION([$Revision$]) AC_REVISION([$Revision$])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment