Skip to content

Commit

Permalink
Merge pull request #32 from atsign-foundation/cpswan-fhonour-copts
Browse files Browse the repository at this point in the history
fix: Use -fhonour-copts rather than $(TARGET_CFLAGS)
  • Loading branch information
cpswan authored Nov 28, 2024
2 parents 2e37bf9 + 0e755fd commit 5e9374a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/csshnpd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=csshnpd
PKG_VERSION:=0.2.4
PKG_RELEASE:=3
PKG_RELEASE:=4

PKG_SOURCE:=$(PKG_NAME)-c$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/atsign-foundation/noports/releases/download/c$(PKG_VERSION)
Expand All @@ -21,7 +21,7 @@ CMAKE_OPTIONS += \
-DBUILD_SHARED_LIBS=off \
-DBUILD_TESTS=off \
-DCMAKE_C_COMPILER=$(TARGET_CC) \
-DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -Wno-calloc-transposed-args -Wno-error -pthread -lrt"
-DCMAKE_C_FLAGS="-fhonour-copts -Wno-calloc-transposed-args -Wno-error -pthread -lrt"

define Package/csshnpd
SECTION:=net
Expand Down

0 comments on commit 5e9374a

Please sign in to comment.