socat: fix compile error when ccache is enabled
authorkrant <aleksey.vasilenko@gmail.com>
Fri, 19 Apr 2024 11:10:45 +0000 (14:10 +0300)
committerRosen Penev <rosenp@gmail.com>
Fri, 19 Apr 2024 21:19:25 +0000 (14:19 -0700)
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
net/socat/Makefile

index 6da3aee46768dcfed2f25ad8d93960637006391f..4afaf7e784229352019482185ee5d3bdfa146c44 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=socat
 PKG_VERSION:=1.8.0.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://www.dest-unreach.org/socat/download
@@ -58,6 +58,9 @@ CONFIGURE_ARGS += \
        --disable-readline \
        --enable-termios
 
+## procan.c fails to compile when ccache is enabled
+MAKE_FLAGS += CC="$(TARGET_CC_NOCACHE)"
+
 ifneq ($(CONFIG_SOCAT_SSL),y)
   CONFIGURE_ARGS+= --disable-openssl
 endif