mirror of
https://git.openwrt.org/feed/packages.git
synced 2025-12-20 01:20:12 +08:00
ccrypt: fix compilation with gcc15
gcc15 is using iso9899:2024 by default. ccrypt fails to compile with it. --> use previous standard "-std=c17" instead. Ref.: https://github.com/openwrt/packages/issues/27112 Signed-off-by: Ulrich Stark <pwned-pixel@posteo.de>
This commit is contained in:
committed by
Hannu Nyman
parent
331c6bc7ca
commit
ac8b481f1d
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ccrypt
|
||||
PKG_VERSION:=1.11
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/ccrypt
|
||||
@@ -32,6 +32,8 @@ endef
|
||||
|
||||
CONFIGURE_ARGS += --disable-emacs
|
||||
|
||||
EXTRA_CFLAGS += -std=c17
|
||||
|
||||
define Package/ccrypt/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ccrypt $(1)/usr/bin/
|
||||
|
||||
Reference in New Issue
Block a user