diff options
author | NotTsunami <4589807+NotTsunami@users.noreply.github.com> | 2021-07-12 13:46:56 -0400 |
---|---|---|
committer | Martijn van Beurden <mvanb1@gmail.com> | 2022-04-13 17:37:50 +0200 |
commit | 617efda90d046377bb911fb4f30e4f5445b7d781 (patch) | |
tree | 98474d25d13711b0a0c59059b989efe722b247e6 /cmake | |
parent | f5efd956d90cb8fce5f1a02d804ebb2150052c84 (diff) | |
download | flac-617efda90d046377bb911fb4f30e4f5445b7d781.tar.gz |
CMake: Make FORTIFY_SOURCE optional
* Also add in checking for libssp for MinGW
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/UseSystemExtensions.cmake | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cmake/UseSystemExtensions.cmake b/cmake/UseSystemExtensions.cmake index f3c9490f..604f4d36 100644 --- a/cmake/UseSystemExtensions.cmake +++ b/cmake/UseSystemExtensions.cmake @@ -1,16 +1,6 @@ include(CheckCSourceCompiles) check_c_source_compiles(" - int main() - { - #ifndef _FORTIFY_SOURCE - return 0; - #else - this_is_an_error; - #endif - }" - DODEFINE_FORTIFY_SOURCE) -check_c_source_compiles(" #include <wchar.h> mbstate_t x; int main() { return 0; }" |