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:
		
							parent
							
								
									459e285573
								
							
						
					
					
						commit
						8c54d590cb
					
				| 
						 | 
					@ -113,7 +113,7 @@ elif host_machine.system().endswith('bsd')
 | 
				
			||||||
        endif
 | 
					        endif
 | 
				
			||||||
    elif host_machine.cpu_family() == 'arm'
 | 
					    elif host_machine.cpu_family() == 'arm'
 | 
				
			||||||
        srcs_xorg_os_support += 'bsd/arm_video.c'
 | 
					        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'
 | 
					        srcs_xorg_os_support += 'bsd/ppc_video.c'
 | 
				
			||||||
    elif host_machine.cpu_family() == 'sparc64'
 | 
					    elif host_machine.cpu_family() == 'sparc64'
 | 
				
			||||||
        srcs_xorg_os_support += 'bsd/sparc64_video.c'
 | 
					        srcs_xorg_os_support += 'bsd/sparc64_video.c'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -283,7 +283,7 @@ endif
 | 
				
			||||||
int10 = get_option('int10')
 | 
					int10 = get_option('int10')
 | 
				
			||||||
if int10 == 'auto'
 | 
					if int10 == 'auto'
 | 
				
			||||||
    int10 = 'x86emu'
 | 
					    int10 = 'x86emu'
 | 
				
			||||||
    if host_machine.cpu() == 'powerpc' and host_machine.system() == 'freebsd'
 | 
					    if host_machine.cpu() == 'ppc' and host_machine.system() == 'freebsd'
 | 
				
			||||||
        int10 = 'stub'
 | 
					        int10 = 'stub'
 | 
				
			||||||
    endif
 | 
					    endif
 | 
				
			||||||
    if host_machine.cpu() == 'arm'
 | 
					    if host_machine.cpu() == 'arm'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue