From 35431d98669788d1565c9a7b5d8619b8846a0df9 Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Sun, 15 Jul 2018 18:29:28 +0000 Subject: sg_lib: fix bug in producing exit status strings git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@783 6180dd3e-e324-4e3e-922d-17de1ae2f315 --- testing/Makefile.freebsd | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'testing/Makefile.freebsd') diff --git a/testing/Makefile.freebsd b/testing/Makefile.freebsd index b7dcef27..6cfe7d8f 100644 --- a/testing/Makefile.freebsd +++ b/testing/Makefile.freebsd @@ -8,10 +8,10 @@ MANDIR=$(DESTDIR)/$(PREFIX)/man # the default C compiler is clang. Swap the comment marks (lines starting # with '#') on the next 4 (non-blank) lines. # CC = gcc -CC = clang +# CC = clang # LD = gcc -LD = clang +# LD = clang EXECS = sg_sense_test sg_chk_asc sg_tst_nvme tst_sg_lib @@ -54,17 +54,17 @@ clean: /bin/rm -f *.o $(EXECS) $(EXTRAS) core .depend sg_sense_test: sg_sense_test.o $(D_FILES) - $(LD) -o $@ $(LDFLAGS) $@.o $(D_FILES) + $(CC) -o $@ $(LDFLAGS) $@.o $(D_FILES) # building sg_chk_asc depends on a prior successful make in ../lib sg_chk_asc: sg_chk_asc.o $(D_FILES) - $(LD) -o $@ $(LDFLAGS) $@.o $(D_FILES) + $(CC) -o $@ $(LDFLAGS) $@.o $(D_FILES) sg_tst_nvme: sg_tst_nvme.o $(D_FILES) - $(LD) -o $@ $(LDFLAGS) $@.o $(D_FILES) + $(CC) -o $@ $(LDFLAGS) $@.o $(D_FILES) tst_sg_lib: tst_sg_lib.o $(D_FILES) - $(LD) -o $@ $(LDFLAGS) $@.o $(D_FILES) + $(CC) -o $@ $(LDFLAGS) $@.o $(D_FILES) install: $(EXECS) install -d $(INSTDIR) -- cgit v1.2.3