Skip to content

Commit

Permalink
Merge pull request Mbed-TLS#7 from gilles-peskine-arm/all_sh-mbedcrypto
Browse files Browse the repository at this point in the history
[mbedcrypto] all.sh: make it possible to run a subset of the components
  • Loading branch information
Patater committed Jan 14, 2019
2 parents 005401e + e878987 commit 8d4be19
Show file tree
Hide file tree
Showing 4 changed files with 854 additions and 646 deletions.
6 changes: 6 additions & 0 deletions library/CMakeLists.txt
Expand Up @@ -103,6 +103,12 @@ if(CMAKE_COMPILER_IS_CLANG)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code")
endif(CMAKE_COMPILER_IS_CLANG)

if(UNSAFE_BUILD)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error")
set(CMAKE_C_FLAGS_ASAN "${CMAKE_C_FLAGS_ASAN} -Wno-error")
set(CMAKE_C_FLAGS_ASANDBG "${CMAKE_C_FLAGS_ASANDBG} -Wno-error")
endif(UNSAFE_BUILD)

if(WIN32)
set(libs ${libs} ws2_32)
endif(WIN32)
Expand Down

0 comments on commit 8d4be19

Please sign in to comment.