summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/ConfigEnvMinGW.cmake
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-10-12 13:56:14 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-10-12 13:56:14 +0000
commit09319f688e10d47f9fc9be2b6feb831fb132660a (patch)
tree99b6c5d03da1136ebee2e1c3028f330099e49e05 /CMakeScripts/ConfigEnvMinGW.cmake
parentUpdate DefineDependsandFlags.cmake (diff)
downloadinkscape-09319f688e10d47f9fc9be2b6feb831fb132660a.tar.gz
inkscape-09319f688e10d47f9fc9be2b6feb831fb132660a.zip
CMake: Avoid reordering CMAKE_CXX_FLAGS
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.
Diffstat (limited to 'CMakeScripts/ConfigEnvMinGW.cmake')
0 files changed, 0 insertions, 0 deletions