From 3470992ad9eaa58653cfaf2aceb3d93a4af9eb3c Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 30 Dec 2020 15:34:07 -0800 Subject: [PATCH] bonnie++: fix compilation with glibc link to pthreads was missing Signed-off-by: Rosen Penev --- utils/bonnie++/Makefile | 2 +- utils/bonnie++/patches/010-openwrt-fixes.patch | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/bonnie++/Makefile b/utils/bonnie++/Makefile index e89e0728c6..6e6d6dfb61 100644 --- a/utils/bonnie++/Makefile +++ b/utils/bonnie++/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bonnie++ PKG_VERSION:=1.98 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz PKG_SOURCE_URL:=https://www.coker.com.au/bonnie++/ diff --git a/utils/bonnie++/patches/010-openwrt-fixes.patch b/utils/bonnie++/patches/010-openwrt-fixes.patch index a26b64adb0..37a99eba9a 100644 --- a/utils/bonnie++/patches/010-openwrt-fixes.patch +++ b/utils/bonnie++/patches/010-openwrt-fixes.patch @@ -18,11 +18,11 @@ bonnie++: $(BONOBJS) - $(LINK) -o bonnie++ $(BONOBJS) $(THREAD_LFLAGS) -+ $(CXX) $(CXXFLAGS) -o bonnie++ $(BONOBJS) ++ $(CXX) $(CXXFLAGS) -o bonnie++ $(BONOBJS) @thread_ldflags@ zcav: $(ZCAVOBJS) - $(LINK) -o zcav $(ZCAVOBJS) $(THREAD_LFLAGS) -+ $(CXX) $(CXXFLAGS) -o zcav $(ZCAVOBJS) ++ $(CXX) $(CXXFLAGS) -o zcav $(ZCAVOBJS) @thread_ldflags@ getc_putc: $(GETCOBJS) getc_putc_helper - $(LINK) -o getc_putc $(GETCOBJS) $(THREAD_LFLAGS) -- 2.30.2