change compiler flags for cuvid compile

This commit is contained in:
jojo61
2025-11-04 08:34:48 +01:00
parent 618b689bc3
commit c866670227

View File

@@ -178,6 +178,8 @@ LIBS += $(shell pkg-config --libs egl gbm libdrm)
endif
ifeq ($(CUVID),1)
export CFLAGS = $(call PKGCFG,cflags) -fpermissive
export CXXFLAGS = $(call PKGCFG,cxxflags) -fpermissive
#CONFIG += -DUSE_PIP # PIP support
CONFIG += -DCUVID # enable CUVID decoder
LIBS += $(shell pkg-config --libs egl gl)