blob: 21565977a21a7bff4c6062e744158e9a8b1393d2 [file] [log] [blame]
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