Hi everyone,
I am working on a project that I joined and I noticed that the flags are all
a mess. When a flag called --enabled-debug was set it it sets
AM_CXXFLAGS="$AM_CXXFLAGS -g -Wall -O0"
AM_LDFLAGS="$AM_LDFLAGS -g"
but when I compile all of my stuff, the CXXFLAGS variable is set to -g -O2
I strongly recommend that you go back and read the Autoconf and
Automake documentation. It does seem like the project that you joined
does have some issues.
Autoconf and automake work in conjunction with each other and can
accomplish what you desire if used correctly.
It is true that Autoco
On 2014-08-10 10:48 -0700, bholland wrote:
> I am working on a project that I joined and I noticed that the flags are all
> a mess. When a flag called --enabled-debug was set it it sets
>
> AM_CXXFLAGS="$AM_CXXFLAGS -g -Wall -O0"
> AM_LDFLAGS="$AM_LDFLAGS -g"
>
> but when I compile all of my stu