From bedff50d9dd7deba1fd4dbf533a0ff2e6924e2e8 Mon Sep 17 00:00:00 2001 From: Logan McNaughton Date: Tue, 15 Dec 2020 17:00:00 +0000 Subject: [PATCH] update rsp hle --- mupen64plus-rsp-hle/projects/unix/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/mupen64plus-rsp-hle/projects/unix/Makefile b/mupen64plus-rsp-hle/projects/unix/Makefile index 27a58b4..43b7368 100755 --- a/mupen64plus-rsp-hle/projects/unix/Makefile +++ b/mupen64plus-rsp-hle/projects/unix/Makefile @@ -134,10 +134,13 @@ ifeq ("$(CPU)","NONE") $(error CPU type "$(HOST_CPU)" not supported. Please file bug report at 'https://github.com/mupen64plus/mupen64plus-core/issues') endif +SRCDIR = ../../src +OBJDIR = _obj$(POSTFIX) + # base CFLAGS, LDLIBS, and LDFLAGS OPTFLAGS ?= -O3 -flto WARNFLAGS ?= -Wall -CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -ffast-math -fno-strict-aliasing -fvisibility=hidden -I../../src +CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -ffast-math -fno-strict-aliasing -fvisibility=hidden -I$(SRCDIR) LDFLAGS += $(SHARED) # Since we are building a shared library, we must compile with -fPIC on some architectures @@ -245,10 +248,6 @@ ifeq ($(DUMP), 1) CFLAGS += -DENABLE_TASK_DUMP endif - -SRCDIR = ../../src -OBJDIR = _obj$(POSTFIX) - # list of source files to compile SOURCE = \ $(SRCDIR)/alist.c \