intel: Fix build of Intel DRM on x86 systems
Commit efd6e81e
inadvertently broke the build by looking for "i?86" or
"x86_64" in $host_os. The correct variable to check is $host_cpu.
This was preventing libdrm_intel.so from being built.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
main
parent
efd6e81e2b
commit
82c6938d23
|
@ -250,8 +250,8 @@ if test "x$INTEL" != "xno" -o "x$RADEON" != "xno"; then
|
|||
|
||||
else
|
||||
if test "x$INTEL" != "xno"; then
|
||||
case $host_os in
|
||||
i?86-*|x86_64-*) INTEL=yes ;;
|
||||
case $host_cpu in
|
||||
i?86|x86_64) INTEL=yes ;;
|
||||
*) INTEL=no ;;
|
||||
esac
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue