mirror of
				https://gitlab.com/qemu-project/openbios.git
				synced 2024-02-13 08:34:06 +08:00 
			
		
		
		
	config/scripts/switch-arch: allow x86_64 prefix for x86 builds
Modern 64-bit compilers with a gcc multilib-capable toolchain are easily able to build x86 OpenBIOS. If the build is not gcc multilib-capable then the build typically fails with the message "fatal error: sys/cdefs.h: No such file or directory". Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
This commit is contained in:
		| @ -295,7 +295,7 @@ for ARCH in $arch_list; do | ||||
|         ;; | ||||
|  | ||||
|         x86) | ||||
|         select_prefix i486 | ||||
|         select_prefix i486 x86_64 | ||||
|         CFLAGS="-fno-builtin -m32" | ||||
|         AS_FLAGS="-Wa,-32" | ||||
|         ;; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Mark Cave-Ayland
					Mark Cave-Ayland