Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-vulkan-loader
0001-Run-cross-compiled-asm_offset-to-generate-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Run-cross-compiled-asm_offset-to-generate-asm-define.patch of Package mingw32-vulkan-loader
From 64c1c8064c8b7ab90fc90f6b0a2949cba82955d2 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Wed, 22 Feb 2023 14:55:43 +0100 Subject: [PATCH] Run cross compiled asm_offset to generate asm defines with MINGW --- loader/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt index c48f097c3..5b0168bb7 100644 --- a/loader/CMakeLists.txt +++ b/loader/CMakeLists.txt @@ -155,8 +155,8 @@ if(WIN32) add_executable(asm_offset asm_offset.c) target_link_libraries(asm_offset PRIVATE loader_specific_options) - # If not cross compiling, run asm_offset to generage gen_defines.asm - if (NOT CMAKE_CROSSCOMPILING) + # If on mingw or not cross compiling, run asm_offset to generage gen_defines.asm + if (MINGW OR NOT CMAKE_CROSSCOMPILING) add_custom_command(OUTPUT gen_defines.asm DEPENDS asm_offset COMMAND asm_offset MASM) else() # Forces compiler to write the intermediate asm file, needed so that we can get sizeof/offset of info out of it. -- 2.39.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor