From 848a33675cf8f0336baf69e6ffc523329fc10d18 Mon Sep 17 00:00:00 2001 From: Morgan Date: Tue, 19 Nov 2024 10:37:21 +0900 Subject: [PATCH] Set Intel GPU flag when GPU_SUPPORT with STATIC enabled --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index af0a0fe17..72c64307c 100644 --- a/Makefile +++ b/Makefile @@ -43,10 +43,16 @@ ifeq ($(PLATFORM_LC)$(ARCH),linuxx86_64) INTEL_GPU_SUPPORT := true endif endif + ifneq ($(GPU_SUPPORT),true) GPU_SUPPORT := false endif +ifeq ($(GPU_SUPPORT)$(STATIC),truetrue) + GPU_SUPPORT := true + INTEL_GPU_SUPPORT := true +endif + ifeq ($(GPU_SUPPORT),true) override ADDFLAGS += -DGPU_SUPPORT endif