mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-28 21:35:35 +00:00
Newer versions of bonnie get published on <https://doc.coker.com.au/projects/bonnie/>. Unfortunately, the new version doesn't compile with g++ 11 which requires *fix-csv2html-data.patch* and configure fails due to cross compilation which gets fixed with *fix-configure-lfs.patch* Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
25 lines
947 B
Diff
25 lines
947 B
Diff
Upstream-Status: Submitted [https://salsa.debian.org/etbe/bonnie/-/merge_requests/3/diffs?commit_id=f6ce71d9f97316697c55d0fb3c756becdee04c5c]
|
|
|
|
diff --git i/Makefile.in w/Makefile.in
|
|
index 6dfdb75..87a5fb1 100644
|
|
--- i/Makefile.in
|
|
+++ w/Makefile.in
|
|
@@ -10,7 +10,7 @@ eprefix=@exec_prefix@
|
|
WFLAGS=-Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self $(MORE_WARNINGS)
|
|
CFLAGS=-O2 @debug@ -DNDEBUG $(WFLAGS) $(MORECFLAGS)
|
|
CXX=@CXX@ $(CFLAGS)
|
|
-LINK=@CXX@
|
|
+LINK=$(LINK.cc)
|
|
THREAD_LFLAGS=@thread_ldflags@
|
|
|
|
INSTALL=@INSTALL@
|
|
@@ -43,7 +43,7 @@ getc_putc: $(GETCOBJS) getc_putc_helper
|
|
$(LINK) -o getc_putc $(GETCOBJS) $(THREAD_LFLAGS)
|
|
|
|
getc_putc_helper: $(GETCHOBJS)
|
|
- $(CXX) -o getc_putc_helper $(GETCHOBJS)
|
|
+ $(LINK) -o getc_putc_helper $(GETCHOBJS)
|
|
|
|
bon_csv2html: bon_csv2html.o
|
|
$(LINK) bon_csv2html.o -o bon_csv2html
|