unifdef: fix build with GCC 15

Using GCC compiler on the host breaks the build due to 'constexpr' being
a reserved keyword in C22.
Build expecting the sources to be in GNU17 standard fixes that.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle authored and Tianling Shen committed 2025-07-09 18:50:33 +08:00
1 parent 362b8cda74
commit ab6ebc5c01
1 file changed
+3
+3
View File
@@ -17,6 +17,9 @@ HOST_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
HOST_CFLAGS += -std=gnu17
TARGET_CFLAGS += -std=gnu17
define Package/unifdef
SECTION:=devel
CATEGORY:=Development