Skip to content

Commit

Permalink
fix: building M4
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgazelka committed Jan 5, 2025
1 parent cb296d0 commit a55057c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flecs_ecs_sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ fn generate_bindings() {
.raw_line("use super::*;")
.raw_line("use libc::FILE;")
.clang_arg("-DFLECS_CUSTOM_BUILD")
.clang_arg("-DFLECS_CPP");
.clang_arg("-DFLECS_CPP")
.clang_arg(format!("--target={}", std::env::var("HOST").unwrap()));

#[cfg(feature = "flecs_perf_trace")]
{
Expand Down

0 comments on commit a55057c

Please sign in to comment.