From: Stephen Kitt Date: Fri, 7 May 2021 11:22:53 +0000 (+0200) Subject: Apply flags to libzstd-nomt in libzstd style X-Git-Tag: v1.5.0^2~13^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2582de3c92c2b2180278e81e6d5e8765bc74229;p=thirdparty%2Fzstd.git 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 --- diff --git a/lib/Makefile b/lib/Makefile index 2ce696b5d..98bca23f9 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)