Skip to content

Commit

Permalink
NASM: suppress macro warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
msg7086 committed Nov 13, 2023
1 parent d1bdc00 commit 1260d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ if((MSVC_IDE OR XCODE OR GCC) AND ENABLE_ASSEMBLY)
list(APPEND ASM_OBJS ${ASM}.${SUFFIX})
add_custom_command(
OUTPUT ${ASM}.${SUFFIX}
COMMAND ${NASM_EXECUTABLE} ARGS ${NASM_FLAGS} ${ASM_SRC} -o ${ASM}.${SUFFIX}
COMMAND ${NASM_EXECUTABLE} ARGS ${NASM_FLAGS} -w-macro-params-legacy -w-pp-macro-params-legacy ${ASM_SRC} -o ${ASM}.${SUFFIX}
DEPENDS ${ASM_SRC})
endforeach()
endif()
Expand Down

0 comments on commit 1260d5a

Please # to comment.