Opened 8 years ago

Closed 8 years ago

Last modified 2 years ago

#9467 closed patch

CONFIGURE: Equate amd64 with x86_64

Reported by: SF/tsomi Owned by: lordhoto
Priority: normal Component: Ports
Keywords: Cc:
Game:

Description

Some operating systems (for example OpenBSD) use "amd64" instead of "x86_64".

The attached patch makes ScummVM recognize amd64 as an alias for x86_64, so that memory alignment is not considered necessary for this arch.

This way, ./configure output, which was: Alignment required... yes Checking host CPU architecture... unknown (amd64)

becomes this: Alignment required... no Checking host CPU architecture... x86_64

on OpenBSD/amd64.

This patch is against a7b72d0a9a.

Ticket imported from: #3599990. Ticket imported from: patches/1572.

Attachments (1)

scummvm_upstream_amd64.patch (522 bytes ) - added by SF/tsomi 8 years ago.
equate amd64 with x86_64 so alignment checks in configure will work as intended on amd64.

Download all attachments as: .zip

Change History (4)

by SF/tsomi, 8 years ago

equate amd64 with x86_64 so alignment checks in configure will work as intended on amd64.

comment:1 by lordhoto, 8 years ago

Committed this to master. Thanks for your patch.

comment:2 by lordhoto, 8 years ago

Owner: set to lordhoto
Status: newclosed
Summary: configure: Equate amd64 with x86_64CONFIGURE: Equate amd64 with x86_64

comment:3 by digitall, 2 years ago

Component: Ports
Note: See TracTickets for help on using tickets.