From b2582de3c92c2b2180278e81e6d5e8765bc74229 Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Fri, 7 May 2021 13:22:53 +0200 Subject: [PATCH] Apply flags to libzstd-nomt in libzstd style ... for consistency (this doesn't actually change the build flags used in practice, currently). Signed-off-by: Stephen Kitt --- lib/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index 2ce696b5..98bca23f 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -334,7 +334,8 @@ include $(wildcard $(DEPFILES)) # Special case : building library in single-thread mode _and_ without zstdmt_compress.c ZSTDMT_FILES = compress/zstdmt_compress.c ZSTD_NOMT_FILES = $(filter-out $(ZSTDMT_FILES),$(ZSTD_FILES)) -libzstd-nomt: LDFLAGS += -shared -fPIC -fvisibility=hidden +libzstd-nomt: CFLAGS += -fPIC -fvisibility=hidden +libzstd-nomt: LDFLAGS += -shared libzstd-nomt: $(ZSTD_NOMT_FILES) @echo compiling single-thread dynamic library $(LIBVER) @echo files : $(ZSTD_NOMT_FILES)