vulkan-loader/SOURCES/add-notes.patch

13 lines
665 B
Diff
Raw Normal View History

2022-02-01 20:12:39 +00:00
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)
2020-07-21 15:01:50 +00:00
2022-02-01 20:12:39 +00:00
- 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")