Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
build: use cpu_family for arch checks
e.g. on 32-bit arm, we may have armv6, armv7l, armv7hf, etc which all
generally have the same layouts.  cpu_family() groups all of these into
just 'arm' that the ABI check table is expecting.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/858>
  • Loading branch information
ystreet authored and tp-m committed Oct 10, 2020
1 parent 28d4239 commit 7fc0bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Expand Up @@ -130,7 +130,7 @@ host_defines = [
[ 's390', 'HAVE_CPU_S390' ],
]
foreach h : host_defines
if h.get(0) == host_machine.cpu()
if h.get(0) == host_machine.cpu_family()
core_conf.set(h.get(1), 1)
endif
endforeach
Expand Down

0 comments on commit 7fc0bff

Please sign in to comment.