| Summary: | build system overrides user-specified build flags (CXXFLAGS, CMAKE_CXX_FLAGS*) | ||
|---|---|---|---|
| Product: | [Developer tools] buildsystem | Reporter: | RJVB <rjvbertin> |
| Component: | KDE4 (cmake) | Assignee: | Alexander Neundorf <neundorf> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | CC: | rakuco |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | All | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
RJVB
2014-09-03 13:56:47 UTC
No feedback on this, not even a "works as intended"? Well the problem's that buildsystem bugs are automatically assigned to Alex, who's hasn't had much free time lately -- I guess you'd be able to get more feedback in kde-core-devel@ or the kde-buildsystem@. This is basically the same as bug 338151. Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone! I have to conclude this is an intentional cmake "feature" (or bug, depending on how you look at things). There's a workaround, used by Debian in its deb build system (and now also by MacPorts): use a custom (NOT pre-defined) CMAKE_BUILD_TYPE. Doing that will let cmake use CFLAGS, CXXFLAGS etc. without prepending or appending anything to them. I'll file new tickets if ever I discover that the ECM append options that should users should be able to override for their builds. |