From c866670227a0c9da986479d106d3764feb213042 Mon Sep 17 00:00:00 2001 From: jojo61 Date: Tue, 4 Nov 2025 08:34:48 +0100 Subject: [PATCH] change compiler flags for cuvid compile --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 316c7eb..29f4dcd 100644 --- a/Makefile +++ b/Makefile @@ -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)