From 8105c29f3a1a7c3e16a9c278bdf03054b3919043 Mon Sep 17 00:00:00 2001 From: Justin Weiss Date: Wed, 10 Feb 2021 18:17:31 -0800 Subject: [PATCH] Restrict threaded rendering to unai / peops --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d751fb12..73bde483 100644 --- a/Makefile +++ b/Makefile @@ -180,6 +180,10 @@ CFLAGS += -DGPU_PEOPS plugins/dfxvideo/gpulib_if.o: CFLAGS += -fno-strict-aliasing plugins/dfxvideo/gpulib_if.o: plugins/dfxvideo/prim.c plugins/dfxvideo/soft.c OBJS += plugins/dfxvideo/gpulib_if.o +ifeq "$(THREAD_RENDERING)" "1" +CFLAGS += -DTHREAD_RENDERING +OBJS += plugins/gpulib/gpulib_thread_if.o +endif endif ifeq "$(BUILTIN_GPU)" "unai" CFLAGS += -DGPU_UNAI @@ -190,13 +194,13 @@ OBJS += plugins/gpu_unai/gpulib_if.o ifeq "$(ARCH)" "arm" OBJS += plugins/gpu_unai/gpu_arm.o endif -plugins/gpu_unai/gpulib_if.o: CFLAGS += -DREARMED -O3 -CC_LINK = $(CXX) -endif ifeq "$(THREAD_RENDERING)" "1" CFLAGS += -DTHREAD_RENDERING OBJS += plugins/gpulib/gpulib_thread_if.o endif +plugins/gpu_unai/gpulib_if.o: CFLAGS += -DREARMED -O3 +CC_LINK = $(CXX) +endif # cdrcimg OBJS += plugins/cdrcimg/cdrcimg.o -- 2.39.5