You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Instead of relying on fragile and complex logic to decide if a compiler flag is available or not, use the check_c_compiler_flag() macro provided by the CMake standard library. This for example avoids using -fcf-protection on architectures that don't support this option. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit dd2d181755a6e642c0a8e3225ef5407fff49eb3a) When resolving the conflict from applying the patch, I also took the liberty of re-indenting the snippet correcly and fixing mismatching HAS_FCF_PROTECTION and HAS_FSTACK_PROTECTOR_STRONG variables (the conditionals used GCC_ prefix but the variables were definded without it). Signed-off-by: Jan Tojnar <jtojnar@gmail.com> |
5 years ago | |
---|---|---|
.. | ||
msvc_conan_profiles | 6 years ago | |
Doxyfile.in | 6 years ago | |
FindIconv.cmake | 5 years ago | |
FindRegex.cmake | 7 years ago | |
compilerFlags.cmake | 5 years ago | |
compilerFlagsExiv2.cmake | 6 years ago | |
config.h.cmake | 5 years ago | |
exiv2.pc.in | 7 years ago | |
exiv2_uninstall.cmake | 7 years ago | |
findDependencies.cmake | 6 years ago | |
generateConfigFile.cmake | 6 years ago | |
generateDoc.cmake | 6 years ago | |
mainSetup.cmake | 5 years ago | |
packaging.cmake | 5 years ago | |
printSummary.cmake | 5 years ago |