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