From a5192b05627b5552b0d71b24bf762827c0dd5936 Mon Sep 17 00:00:00 2001 From: ciscon Date: Sun, 19 Oct 2025 17:12:40 -0400 Subject: [PATCH] BUILD: support newer versions of gcc/clang by setting c standard to gnu17 Applied-Upstream: https://github.com/QW-Group/mvdsv/commit/13120da861aba33b23ce1b40a1b2b401411e4c19 Bug-Debian: https://bugs.debian.org/1114217 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e691710..9b9c542a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -124,7 +124,7 @@ endif() ###################################################################################################### # Set base compiler flags -set(CFLAGS -Wall) +set(CFLAGS -Wall -std=gnu17) set(LFLAGS)