Skip to content

Commit

Permalink
Set Intel GPU flag when GPU_SUPPORT with STATIC enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
morgan9e committed Nov 19, 2024
1 parent e17bc6b commit 848a336
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 848a336

Please sign in to comment.