aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv.zig
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2024-05-26 15:13:33 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-10-11 17:07:54 +0200
commit41dbd0d0da0989495a97e99fb9269a49ac302768 (patch)
tree18a043e574ada883a6d01738f387cc6f5486a0e3 /src/codegen/spirv.zig
parent901f344be2fb822df2c431017833899450779c4d (diff)
downloadzig-41dbd0d0da0989495a97e99fb9269a49ac302768.tar.gz
zig-41dbd0d0da0989495a97e99fb9269a49ac302768.zip
cmake: correct PIE support detection, add error output for debugging
`check_pie_supported` only uses the `OUTPUT_VARIABLE` to to signify errors if PIE is actually supported is signaled by `CMAKE_<lang>_LINK_PIE_SUPPORTED`. Checking if `OUTPUT_VARIABLE` is empty is not enough either since the check is bypassed if its results are cached but the output variable is not cached.
Diffstat (limited to 'src/codegen/spirv.zig')
0 files changed, 0 insertions, 0 deletions