]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
minor tests/Makefile change, as suggested by @terrelln 965/head
authorYann Collet <cyan@fb.com>
Sat, 6 Jan 2018 06:13:09 +0000 (07:13 +0100)
committerYann Collet <cyan@fb.com>
Sat, 6 Jan 2018 06:13:09 +0000 (07:13 +0100)
https://github.com/facebook/zstd/pull/965#discussion_r160008006

tests/Makefile

index 258212db1d131530c18e4515df3182d50e0a7675..48ae17538de1b5380f6f8d3dc5c0e3ed8e03fc33 100644 (file)
@@ -115,7 +115,7 @@ zstdc_%.o : $(ZSTDDIR)/compress/%.c
 zstdd_%.o : $(ZSTDDIR)/decompress/%.c
        $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@
 
-zstdmt%.o : CPPFLAGS += -DZSTD_MULTITHREAD=1
+zstdmt%.o : CPPFLAGS += $(MULTITHREAD_CPP)
 
 zstdmt_m_%.o : $(ZSTDDIR)/common/%.c
        $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@