equate powerpc with ppc and amd64 with x86_64 for alignment checks
based on diffs to the scummvm port from Donovan Watteau ok bentley@
This commit is contained in:
parent
2fda2aa5a4
commit
99dc67e17f
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2014/07/11 15:07:13 bentley Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2014/12/01 07:47:35 jsg Exp $
|
||||
|
||||
COMMENT = interpreter for some LucasArts 3D games
|
||||
|
||||
V = 0.1.1
|
||||
REVISION = 0
|
||||
DISTNAME = residualvm-${V}-sources
|
||||
PKGNAME = residualvm-${V}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2014/07/11 15:07:13 bentley Exp $
|
||||
$OpenBSD: patch-configure,v 1.2 2014/12/01 07:47:35 jsg Exp $
|
||||
Freetype's headers conflict with -pedantic.
|
||||
--- configure.orig Sat Feb 9 13:38:56 2013
|
||||
+++ configure Fri Jul 11 02:11:40 2014
|
||||
--- configure.orig Sun Feb 10 07:38:56 2013
|
||||
+++ configure Sat Nov 29 20:05:29 2014
|
||||
@@ -1601,7 +1601,7 @@ fi;
|
||||
# However, some platforms use GNU extensions in system header files, so
|
||||
# for these we must not use -pedantic.
|
||||
@ -11,3 +11,26 @@ Freetype's headers conflict with -pedantic.
|
||||
;;
|
||||
*)
|
||||
# ICC does not support pedantic, while GCC and clang do.
|
||||
@@ -1775,7 +1775,7 @@ cc_check_clean tmp_find_type_with_size.cpp
|
||||
# for the smaller sizes.
|
||||
echo_n "Alignment required... "
|
||||
case $_host_cpu in
|
||||
- i[3-6]86 | x86_64 | ppc*)
|
||||
+ i[3-6]86 | amd64 | x86_64 | powerpc* | ppc*)
|
||||
# Unaligned access should work
|
||||
_need_memalign=no
|
||||
;;
|
||||
@@ -1816,11 +1816,11 @@ case $_host_cpu in
|
||||
echo "MIPS"
|
||||
DEFINES="$DEFINES -DMIPS_TARGET"
|
||||
;;
|
||||
- ppc*)
|
||||
+ powerpc* | ppc*)
|
||||
echo "PowerPC"
|
||||
DEFINES="$DEFINES -DPPC_TARGET"
|
||||
;;
|
||||
- x86_64)
|
||||
+ amd64 | x86_64)
|
||||
echo "x86_64"
|
||||
;;
|
||||
*)
|
||||
|
Loading…
x
Reference in New Issue
Block a user