vulkan-loader/SOURCES/add-notes.patch
2021-12-10 04:23:09 +00:00

13 lines
665 B
Diff

diff -up Vulkan-Loader-sdk-1.2.198.0/loader/CMakeLists.txt.da Vulkan-Loader-sdk-1.2.198.0/loader/CMakeLists.txt
--- Vulkan-Loader-sdk-1.2.198.0/loader/CMakeLists.txt.da 2021-12-01 17:26:35.417505993 +1000
+++ Vulkan-Loader-sdk-1.2.198.0/loader/CMakeLists.txt 2021-12-01 17:26:52.270963997 +1000
@@ -221,7 +221,7 @@ else(UNIX AND NOT APPLE) # i.e.: Linux
if(USE_GAS)
enable_language(ASM)
- set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS}")
+ set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -Wa,--generate-missing-build-notes=yes")
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
if (${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "aarch64")