diff options
author | Vitaly Chikunov <vt@altlinux.org> | 2020-09-20 21:21:22 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@users.noreply.github.com> | 2020-09-21 11:34:12 +0300 |
commit | 8fff4a245e57cd2e3479a35cf5a8be534bee5e1c (patch) | |
tree | a2a9cf50f387f8ee7488cc840124ab287152620b /CMakeLists.txt | |
parent | 47be42da87cb9bf9bad6f415c442b586ce0752ef (diff) | |
download | gost-engine-8fff4a245e57cd2e3479a35cf5a8be534bee5e1c.zip gost-engine-8fff4a245e57cd2e3479a35cf5a8be534bee5e1c.tar.gz gost-engine-8fff4a245e57cd2e3479a35cf5a8be534bee5e1c.tar.bz2 |
Compatibility with Solaris 10 (gcc 3.4.3)
Note, you will need to pass `-lsocket -lnsl` to the gcc for
socketpair(3SOCKET) to link `test_tls'.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b8891d..b7b7938 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ include_directories(${OPENSSL_INCLUDE_DIR}) if (CMAKE_C_COMPILER_ID MATCHES "Clang") add_compile_options(-O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -Qunused-arguments -Wno-deprecated-declarations) elseif(CMAKE_C_COMPILER_ID MATCHES "GNU") - add_compile_options(-O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -Wno-error=unknown-pragmas -Wno-deprecated-declarations) + add_compile_options(-O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -Wno-error=unknown-pragmas -Wno-error=pragmas -Wno-deprecated-declarations) elseif(CMAKE_C_COMPILER_ID MATCHES "MSVC") add_definitions(-D_CRT_SECURE_NO_WARNINGS) add_definitions(-D_CRT_DEPRECATED_NO_WARNINGS) |