vulkan-loader/SOURCES/add-notes.patch

13 lines
667 B
Diff
Raw Normal View History

2022-03-29 17:43:00 +00:00
diff -up Vulkan-Loader-sdk-1.3.204.0/loader/CMakeLists.txt.dma Vulkan-Loader-sdk-1.3.204.0/loader/CMakeLists.txt
--- Vulkan-Loader-sdk-1.3.204.0/loader/CMakeLists.txt.dma 2022-02-22 10:03:10.150545799 +1000
+++ Vulkan-Loader-sdk-1.3.204.0/loader/CMakeLists.txt 2022-02-22 10:03:37.930052891 +1000
@@ -221,7 +221,7 @@ else(UNIX AND NOT APPLE) # i.e.: Linux
if(USE_GAS)
enable_language(ASM)
2020-01-21 18:15:43 +00:00
2022-03-29 17:43:00 +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")