]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Clang options
authorDmitry Belyavskiy <beldmit@gmail.com>
Fri, 15 Feb 2019 18:09:08 +0000 (21:09 +0300)
committerDmitry Belyavskiy <beldmit@gmail.com>
Fri, 15 Feb 2019 18:09:08 +0000 (21:09 +0300)
CMakeLists.txt

index 261decdd19f79ea0703374eba243e41105a63605..198d746d32821a12eddaa3869bf1dc9392ec226d 100644 (file)
@@ -11,7 +11,7 @@ find_package(OpenSSL 1.1.1 REQUIRED)
 include_directories(${OPENSSL_INCLUDE_DIR})
 
 if (CMAKE_C_COMPILER_ID MATCHES "Clang")
- add_compile_options(-Qunused-arguments)
+ add_compile_options(-O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -Qunused-arguments)
 elseif(CMAKE_C_COMPILER_ID MATCHES "GNU")
  add_compile_options(-O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb)
 elseif(CMAKE_C_COMPILER_ID MATCHES "MSVC")