From e82121b72e0c8ad5cebcb4e51202e26ad558edda Mon Sep 17 00:00:00 2001 From: Qingping Hou Date: Tue, 2 Oct 2012 21:15:37 -0400 Subject: [PATCH] add HOSTAR for emu mode complie --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index b1cd73c94..8ff90e8f9 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,7 @@ ifdef SBOX_UNAME_MACHINE endif HOSTCC:=gcc HOSTCXX:=g++ +HOSTAR:=ar # Base CFLAGS, without arch. We'll need it for luajit, because its Makefiles do some tricky stuff to differentiate HOST/TARGET BASE_CFLAGS:=-O2 -ffast-math -pipe -fomit-frame-pointer -fno-stack-protector -U_FORTIFY_SOURCE @@ -53,6 +54,7 @@ endif ifdef EMULATE_READER CC:=$(HOSTCC) -g CXX:=$(HOSTCXX) + AR:=$(HOSTAR) EMULATE_READER_W?=824 EMULATE_READER_H?=1200 EMU_CFLAGS?=$(shell sdl-config --cflags)