From: Michael Tremer Date: Fri, 2 May 2025 10:16:20 +0000 (+0000) Subject: usb_modeswitch: Fix build with GCC 15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=331d206cadfdf9e3936e1ef4cc683acdf17cb151;p=ipfire-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 ###############################################################################