[Bug 268082] New: FindKDE4Internal.cmake messes up CXX C flags

manolis manolis at koppermind.homelinux.org
Wed Mar 9 19:53:31 GMT 2011


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

           Summary: FindKDE4Internal.cmake messes up CXX C flags
           Product: kde
           Version: 4.6
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: manolis at koppermind.homelinux.org


Version:           4.6 (using KDE 4.6.0) 
OS:                Linux

FindKDE4Internal.cmake messes up CXX C flags so It is impossible to use gdb to
kdevelop without jumping up and down on command by command execution.
for example:
set(CMAKE_CXX_FLAGS_DEBUG          "-g -O2 -fno-reorder-blocks
-fno-schedule-insns -fno-inline")
-g -O2 should be -g3 -O0 to properly use the debugger gdb, standalone or in
kdevelop.

Reproducible: Always

Steps to Reproduce:
just compile a cmake/kde project

Actual Results:  
compiling optimizations are used in debug flags for CXX and C

Expected Results:  
no optimizations are used when CMAKE_CXX_FLAGS_DEBUG/CMAKE_C_FLAGS_DEBUG is
used

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list