summaryrefslogtreecommitdiff
path: root/net/lynx
diff options
context:
space:
mode:
authorSergey V. Lobanov <sergey@lobanov.in>2022-01-12 02:46:40 +0300
committerRosen Penev <rosenp@gmail.com>2022-01-11 16:23:58 -0800
commit366c1b6fa7c58deb031aa3273abd0b6e58b66901 (patch)
tree1001b9ef886b3bbf98aa0fdd6ff6b4aa02f4737c /net/lynx
parentd4b2345802e0a1386b23b719107a429995a3e3a1 (diff)
lynx: fix build on macos
lynx uses host C-compiler to build internal utility that is used to generate files required for target build. On MacOS it uses internal clang with MacOS system headers so host build fails due to MacOS is not Linux Forced to use OpenWrt host C compiler using --with-build-* ./configure flags Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
Diffstat (limited to 'net/lynx')
-rw-r--r--net/lynx/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/lynx/Makefile b/net/lynx/Makefile
index 3efea46de..a235c3117 100644
--- a/net/lynx/Makefile
+++ b/net/lynx/Makefile
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=lynx
PKG_VERSION:=2.8.9rel.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_LICENSE:=GPL-2.0
PKG_MAINTAINER:=Leonid Esman <leonid.esman@gmail.com>
@@ -41,6 +41,10 @@ endef
# customize as you need
CONFIGURE_ARGS += --with-zlib --with-ssl \
+ --with-build-cc="$(HOSTCC)" \
+ --with-build-cflags="$(HOST_CFLAGS)" \
+ --with-build-cppflags="$(HOST_CPPFLAGS)" \
+ --with-build-ldflags="$(HOST_LDFLAGS)" \
--enable-ipv6 \
--with-screen=ncursesw \
--enable-widec \