blob: bfa49027bfc622039b313049ed439df4bfd3cd92 [file] [log] [blame]
Updating cmake-utils.eclass causes this build to break due to an intermediate
binary not being visible on the PATH during compilation. This patch specifies
that the binary should be used from the CWD during the build, which resolves
the issue. This patch needs to be included and carried forward until the
upstream bug is resolved.
Upstream bug: https://github.com/KhronosGroup/Vulkan-Loader/issues/249
diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt
index 34f6c97..e754c30 100644
--- a/loader/CMakeLists.txt
+++ b/loader/CMakeLists.txt
@@ -160,7 +160,7 @@ else(UNIX AND NOT APPLE) # i.e.: Linux
set(OPT_LOADER_SRCS ${OPT_LOADER_SRCS} unknown_ext_chain_gas.asm)
add_executable(asm_offset asm_offset.c)
add_dependencies(asm_offset generate_helper_files loader_gen_files)
- add_custom_command(OUTPUT gen_defines.asm DEPENDS asm_offset COMMAND asm_offset GAS)
+ add_custom_command(OUTPUT gen_defines.asm DEPENDS asm_offset COMMAND ./asm_offset GAS)
add_custom_target(loader_asm_gen_files DEPENDS gen_defines.asm)
else()
message(WARNING "Could not find working x86 GAS assembler\n${ASM_FAILURE_MSG}")