Skip to content

Commit

Permalink
Merge pull request #2628 from skitt/libzstd-nomt-flags
Browse files Browse the repository at this point in the history
Apply flags to libzstd-nomt in libzstd style
  • Loading branch information
Cyan4973 authored May 8, 2021
2 parents 5b6d38a + b2582de commit 334ac69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,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)
Expand Down

0 comments on commit 334ac69

Please sign in to comment.