From aba22ec2e285cf7557a5049fa6181e82e7f1a489 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 21 Nov 2022 12:04:09 +0000 Subject: [PATCH] buildsystem: don't ignore externally set cflags Upstream-Status: pending Signed-off-by: Max Krummenacher --- decoder_sw/software/linux/h264high/Makefile | 4 ++-- decoder_sw/software/linux/vp6/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/decoder_sw/software/linux/h264high/Makefile b/decoder_sw/software/linux/h264high/Makefile index 556ff71..7bdd99d 100755 --- a/decoder_sw/software/linux/h264high/Makefile +++ b/decoder_sw/software/linux/h264high/Makefile @@ -50,10 +50,10 @@ CLEAR_HDRINFO_IN_SEEK = n DEBUG = y # Add your debugging flag (or not) to CFLAGS ifeq ($(DEBUG),y) - CFLAGS = $(M32) -g -O0 + CFLAGS += $(M32) -g -O0 DEBFLAGS = -DDEBUG -D_ASSERT_USED -D_RANGE_CHECK -D_ERROR_PRINT else - CFLAGS = $(M32) -O3 + CFLAGS += $(M32) -O3 DEBFLAGS = -DNDEBUG endif diff --git a/decoder_sw/software/linux/vp6/Makefile b/decoder_sw/software/linux/vp6/Makefile index b6e6914..b933d46 100755 --- a/decoder_sw/software/linux/vp6/Makefile +++ b/decoder_sw/software/linux/vp6/Makefile @@ -50,10 +50,10 @@ DEBUG = y # Add your debugging flag (or not) to CFLAGS ifeq ($(DEBUG),y) - CFLAGS = -g -O0 + CFLAGS += -g -O0 DEBFLAGS = -DDEBUG -D_ASSERT_USED -D_ERROR_PRINT else - CFLAGS = -O3 + CFLAGS += -O3 DEBFLAGS = -DNDEBUG endif -- 2.35.3