Skip to content

Commit

Permalink
NASM use default debug format
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Aug 7, 2024
1 parent 5fd0f08 commit c35215d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crypto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@ if(NOT OPENSSL_NO_ASM)
endif()
find_program(NASM_EXECUTABLE nasm)
set(CMAKE_ASM_NASM_COMPILER ${NASM_EXECUTABLE})
set(CMAKE_ASM_NASM_FLAGS "${CMAKE_ASM_NASM_FLAGS} -gcv8")
if(NOT CMAKE_BUILD_TYPE_LOWER STREQUAL "release")
# Provide debug in the default format
set(CMAKE_ASM_NASM_FLAGS "${CMAKE_ASM_NASM_FLAGS} -g")
endif()

# On Windows, we use the NASM output.
set(ASM_EXT asm)
Expand Down

0 comments on commit c35215d

Please sign in to comment.