From: Michael Tremer Date: Wed, 30 Apr 2025 09:16:00 +0000 (+0000) Subject: usb_modeswitch: Fix build with GCC 15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32b74ac37a6df8a9c989f7b66cc9360e677d6831;p=people%2Fms%2Fipfire-2.x.git usb_modeswitch: Fix build with GCC 15 Signed-off-by: Michael Tremer --- diff --git a/lfs/usb_modeswitch b/lfs/usb_modeswitch index 22fd8b41c..3b478ff7d 100644 --- a/lfs/usb_modeswitch +++ b/lfs/usb_modeswitch @@ -32,6 +32,9 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) +# Fix build with GCC 15 +CFLAGS += -std=gnu17 + ############################################################################### # Top-level Rules ###############################################################################