Skip to content

Commit

Permalink
try to make some workflow warnings go away when link zydis for detour…
Browse files Browse the repository at this point in the history
…s stuff
  • Loading branch information
rtldg committed Oct 27, 2024
1 parent ce3208a commit b850a89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extshared_build_helper/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,9 @@ pub fn link_sm_detours(mainbuild: &mut cc::Build) {
// something with .flag("stdverisonhere") maybe...
let mut zydis = cc::Build::new();
slurp_folder(&mut zydis, &format!("{}/public/safetyhook/zydis", sm));
zydis.include(format!("{}/public/safetyhook/zydis", sm));
zydis
.include(format!("{}/public/safetyhook/zydis", sm))
.flag_if_supported("-Wno-unused");
zydis.compile("zydis_and_shit");

let mut detours = cc::Build::new();
Expand Down

0 comments on commit b850a89

Please sign in to comment.