aboutsummaryrefslogtreecommitdiff
path: root/testing/Makefile.freebsd
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2018-07-15 18:29:28 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2018-07-15 18:29:28 +0000
commit35431d98669788d1565c9a7b5d8619b8846a0df9 (patch)
tree2367642607a3c8d0fa9d6fbee318bfd553420f31 /testing/Makefile.freebsd
parentceb7178cbfe8f784f8148da8725098395abb0578 (diff)
downloadsg3_utils-35431d98669788d1565c9a7b5d8619b8846a0df9.tar.gz
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
Diffstat (limited to 'testing/Makefile.freebsd')
-rw-r--r--testing/Makefile.freebsd12
1 files changed, 6 insertions, 6 deletions
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)