mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
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/gstreamer/-/merge_requests/671>
This commit is contained in:
parent
90e9bf1457
commit
fa2f853013
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,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()
|
||||
cdata.set(h.get(1), 1)
|
||||
endif
|
||||
endforeach
|
||||
|
|
Loading…
Reference in a new issue