From 83a9bacbe185ccd6b21e5fd18085b8fdce306cc9 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Mon, 6 Jun 2011 14:59:54 +0000 Subject: OpenBSD compile fixes, patch provided by Jonathan Gray (#4994) --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 03691b67..56d56864 100644 --- a/Makefile +++ b/Makefile @@ -637,11 +637,10 @@ else # ifeq freebsd ifeq ($(PLATFORM),openbsd) - #default to i386, no tests done on anything else - ARCH=i386 + ARCH=$(shell uname -m) BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \ - -DUSE_ICON + -DUSE_ICON -DMAP_ANONYMOUS=MAP_ANON CLIENT_CFLAGS = $(SDL_CFLAGS) SERVER_CFLAGS = -- cgit