Fix build on FreeBSD/powerpc*

Current error:
ld: error: undefined symbol: xf86EnableIO
>>> referenced by xf86Configure.c
>>>               libxorg_common.a.p/xf86Configure.c.o:(DoConfigure) in archive hw/xfree86/common/libxorg_common.a
>>> referenced by xf86Events.c
>>>               libxorg_common.a.p/xf86Events.c.o:(xf86VTEnter) in archive hw/xfree86/common/libxorg_common.a
>>> referenced by xf86Init.c
>>>               libxorg_common.a.p/xf86Init.c.o:(InitOutput) in archive hw/xfree86/common/libxorg_common.a
>>> referenced 1 more times
This commit is contained in:
pkubaj 2022-08-05 12:02:50 +00:00 committed by Alan Coopersmith
parent 459e285573
commit 8c54d590cb
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ elif host_machine.system().endswith('bsd')
endif
elif host_machine.cpu_family() == 'arm'
srcs_xorg_os_support += 'bsd/arm_video.c'
elif host_machine.cpu_family() == 'powerpc'
elif host_machine.cpu_family() == 'ppc' or host_machine.cpu_family() == 'ppc64'
srcs_xorg_os_support += 'bsd/ppc_video.c'
elif host_machine.cpu_family() == 'sparc64'
srcs_xorg_os_support += 'bsd/sparc64_video.c'

View File

@ -283,7 +283,7 @@ endif
int10 = get_option('int10')
if int10 == 'auto'
int10 = 'x86emu'
if host_machine.cpu() == 'powerpc' and host_machine.system() == 'freebsd'
if host_machine.cpu() == 'ppc' and host_machine.system() == 'freebsd'
int10 = 'stub'
endif
if host_machine.cpu() == 'arm'