exiv2/cmake
Fabrice Fontaine f31c0eba09 add BUILD_WITH_STACK_PROTECTOR option
Add BUILD_WITH_STACK_PROTECTOR to avoid the following build failure with
toolchains that don't support stack-protector:

/home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/9.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: utils.cpp:(.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag[_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag]+0xd0): undefined reference to `__stack_chk_fail'

Indeed, support for -fstack-protector-strong can't be detected through
check_cxx_compiler_flag as some toolchains need to link with -lssp to
enable SSP support

Fixes:
 - http://autobuild.buildroot.org/results/ae4635899124c602c70d2b342a76f95c34aa4a3d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2021-07-01 19:44:40 +02:00
..
msvc_conan_profiles New profiles as documented in README-CONAN.md 2020-11-20 18:56:28 +00:00
toolchain cmake: new toolchain file for MinGW cross-compilation on Ubuntu 2021-04-18 09:44:51 +02:00
compilerFlags.cmake add BUILD_WITH_STACK_PROTECTOR option 2021-07-01 19:44:40 +02:00
compilerFlagsExiv2.cmake cmake: disable -Wuseless-cast 2021-04-22 18:40:03 +02:00
config.h.cmake Remove EXIV2_ENABLE_VIDEO and related stuff 2021-04-18 09:44:51 +02:00
Doxyfile.in [Doxygen] define PARSED_BY_DOXYGEN when building the documentation 2019-03-02 17:24:44 +01:00
exiv2_uninstall.cmake Match closing statement, doh 2021-03-19 16:14:27 +01:00
exiv2.pc.in cmake: Fix paths with absolute GNUInstallDirs 2020-09-05 11:18:46 +02:00
findDependencies.cmake Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
FindIconv.cmake Disable libiconv support when building with Visual Studio. 2020-07-19 17:10:35 +01:00
FindRegex.cmake MSYS2/MinGW: Disable Regex 2018-10-26 17:47:15 +02:00
gcovr.cmake cmake: Add target for obtaining local covarage reports 2021-05-14 22:38:30 +02:00
generateConfigFile.cmake Fix compilation with -Wunused-variable 2021-06-14 12:41:47 +00:00
generateDoc.cmake Generate doxygen.hpp page 2019-03-02 17:24:10 +01:00
JoinPaths.cmake cmake: Fix paths with absolute GNUInstallDirs 2020-09-05 11:18:46 +02:00
mainSetup.cmake Add CTest support 2021-05-15 16:58:24 +02:00
packaging.cmake Remove EXIV2_ENABLE_VIDEO and related stuff 2021-04-18 09:44:51 +02:00
printSummary.cmake Remove typedef to Dictionary::const_iterator 2021-04-19 10:43:46 +02:00