mirror of
https://github.com/facebook/zstd.git
synced 2025-12-10 00:06:51 -05:00
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 <steve@sk2.org>
This commit is contained in:
parent
0d05846952
commit
b2582de3c9
@ -334,7 +334,8 @@ include $(wildcard $(DEPFILES))
|
|||||||
# Special case : building library in single-thread mode _and_ without zstdmt_compress.c
|
# Special case : building library in single-thread mode _and_ without zstdmt_compress.c
|
||||||
ZSTDMT_FILES = compress/zstdmt_compress.c
|
ZSTDMT_FILES = compress/zstdmt_compress.c
|
||||||
ZSTD_NOMT_FILES = $(filter-out $(ZSTDMT_FILES),$(ZSTD_FILES))
|
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)
|
libzstd-nomt: $(ZSTD_NOMT_FILES)
|
||||||
@echo compiling single-thread dynamic library $(LIBVER)
|
@echo compiling single-thread dynamic library $(LIBVER)
|
||||||
@echo files : $(ZSTD_NOMT_FILES)
|
@echo files : $(ZSTD_NOMT_FILES)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user