summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/CanonicalizeFlagsVar.cmake (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-12CMake: Avoid reordering CMAKE_CXX_FLAGSPatrick Storz1-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.
2016-04-16CXX flags dedup on CMake buildsShlomi Fish1-0/+11
(bzr r14854)