summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/CanonicalizeFlagsVar.cmake (follow)
Commit message (Collapse)AuthorAgeFilesLines
* CMake: Avoid reordering CMAKE_CXX_FLAGSPatrick Storz2019-10-121-11/+0
| | | | | | | | | | | Order matters; the reordering caused the _FORTIFY_SOURCE flag to be always undefined (as we flipped a "-U" and "-D") Also skip removing duplicates to avoid similar pitfalls (we kept only the first occurrence but should've kept the last) It did not work properly anyway (we still had duplicates in the end) and was only required as we wrote the final CMAKE_CXX_FLAGS back to cache and consequently appended new flags with every run of CMAKE.
* CXX flags dedup on CMake buildsShlomi Fish2016-04-161-0/+11
(bzr r14854)