Skip to content

Commit

Permalink
[ci skip] meson.build: interpret x86 as i686 (#3)
Browse files Browse the repository at this point in the history
Meson's host_machine.cpu_family() calls i686 systems 'x86'.
  • Loading branch information
lzcunt authored Jan 27, 2025
1 parent 2b2345a commit 1cc6d46
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
project('freestnd-cxx-hdrs')

incl = include_directories(host_machine.cpu_family() / 'include')
cpu = host_machine.cpu_family()
if cpu == 'x86'
cpu = 'i686'
endif

incl = include_directories(cpu / 'include')

freestnd_cxx_hdrs_dep = declare_dependency(include_directories: incl)

0 comments on commit 1cc6d46

Please sign in to comment.