https://bugs.kde.org/show_bug.cgi?id=360249

--- Comment #8 from Jan Kundrát <j...@kde.org> ---
> You must set CFLAGS as well as CPP flags and the relevant part is where you
> feed this into cmake, however

$CFLAGS are flags for the C compiler, and are ignored when building Trojita 
(maybe except one trivial .so for the GPG unit tests in an unmerged 
branch).

$CPPFLAGS are flags for the C and C++ preprocessors, and should not be used 
for specifying these options.

$CXXFLAGS is what matters as they affect flags which are passed to the C++ 
compiler.

> @Jan "Debug" has only "-g" here? (no -O whatsoever)

I'm not sure if this is a question or a bugreport. I see (both in code and 
in the actual compiler invocation here) that our configuration passes -O2 
to all build types.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to