1Upstream-Status: Submitted [https://salsa.debian.org/etbe/bonnie/-/merge_requests/3/diffs?commit_id=f6ce71d9f97316697c55d0fb3c756becdee04c5c]
2
3diff --git i/Makefile.in w/Makefile.in
4index 6dfdb75..87a5fb1 100644
5--- i/Makefile.in
6+++ w/Makefile.in
7@@ -10,7 +10,7 @@ eprefix=@exec_prefix@
8 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)
9 CFLAGS=-O2 @debug@ -DNDEBUG $(WFLAGS) $(MORECFLAGS)
10 CXX=@CXX@ $(CFLAGS)
11-LINK=@CXX@
12+LINK=$(LINK.cc)
13 THREAD_LFLAGS=@thread_ldflags@
14
15 INSTALL=@INSTALL@
16@@ -43,7 +43,7 @@ getc_putc: $(GETCOBJS) getc_putc_helper
17 	$(LINK) -o getc_putc $(GETCOBJS) $(THREAD_LFLAGS)
18
19 getc_putc_helper: $(GETCHOBJS)
20-	$(CXX) -o getc_putc_helper $(GETCHOBJS)
21+	$(LINK) -o getc_putc_helper $(GETCHOBJS)
22
23 bon_csv2html: bon_csv2html.o
24 	$(LINK) bon_csv2html.o -o bon_csv2html
25