Skip to content

Commit

Permalink
Fix openssl build failure for AARCH64_GCC
Browse files Browse the repository at this point in the history
Signed-off-by: htafr <htafreit@gmail.com>
  • Loading branch information
htafr committed Oct 16, 2024
1 parent a6ce1c9 commit 69235e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
if(GCOV STREQUAL "ON")
add_compile_options(--coverage -fprofile-arcs -ftest-coverage)
endif()
set(OPENSSL_FLAGS -include base.h -Wno-error=maybe-uninitialized -Wno-error=format -Wno-format -Wno-error=unused-but-set-variable -Wno-cast-qual)
set(OPENSSL_FLAGS -std=c11 -include base.h -Wno-error=maybe-uninitialized -Wno-error=format -Wno-format -Wno-error=unused-but-set-variable -Wno-cast-qual)
set(CMOCKA_FLAGS -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wformat-security -Werror=format-security -fno-common -Wformat -fno-common -fstack-protector-strong -Wno-cast-qual)

set(CMAKE_AR aarch64-linux-gnu-gcc-ar)
Expand Down

0 comments on commit 69235e3

Please sign in to comment.