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.
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>
4 years ago
..
msvc_conan_profiles New profiles as documented in README-CONAN.md 5 years ago
toolchain cmake: new toolchain file for MinGW cross-compilation on Ubuntu 4 years ago
Doxyfile.in [Doxygen] define PARSED_BY_DOXYGEN when building the documentation 6 years ago
FindIconv.cmake Disable libiconv support when building with Visual Studio. 5 years ago
FindRegex.cmake MSYS2/MinGW: Disable Regex 7 years ago
JoinPaths.cmake cmake: Fix paths with absolute GNUInstallDirs 5 years ago
compilerFlags.cmake add BUILD_WITH_STACK_PROTECTOR option 4 years ago
compilerFlagsExiv2.cmake cmake: disable -Wuseless-cast 4 years ago
config.h.cmake Remove EXIV2_ENABLE_VIDEO and related stuff 4 years ago
exiv2.pc.in cmake: Fix paths with absolute GNUInstallDirs 5 years ago
exiv2_uninstall.cmake Match closing statement, doh 4 years ago
findDependencies.cmake Fix issues detected with PVS-Studio + other little improvements (#1689) 4 years ago
gcovr.cmake cmake: Add target for obtaining local covarage reports 4 years ago
generateConfigFile.cmake Fix compilation with -Wunused-variable 4 years ago
generateDoc.cmake Generate doxygen.hpp page 6 years ago
mainSetup.cmake Add CTest support 4 years ago
packaging.cmake Remove EXIV2_ENABLE_VIDEO and related stuff 4 years ago
printSummary.cmake Remove typedef to Dictionary::const_iterator 4 years ago