valyala / gozstd

go wrapper for zstd
MIT License
432 stars 60 forks source link

Added MOREFLAGS variable to Makefile. #11

Closed stepanbujnak closed 5 years ago

stepanbujnak commented 5 years ago

The Makefile in zstd project allows specifying MOREFLAGS for some additional flags that might be required during compilation. One such flag is -fPIC.

Example:

$ MOREFLAGS=-fPIC make clean libzstd.a
codecov[bot] commented 5 years ago

Codecov Report

Merging #11 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #11   +/-   ##
=======================================
  Coverage   95.43%   95.43%           
=======================================
  Files           5        5           
  Lines         570      570           
=======================================
  Hits          544      544           
  Misses         15       15           
  Partials       11       11

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a2212b6...986e943. Read the comment docs.

stepanbujnak commented 5 years ago

I accidentally added a new version of libzstd_linux_amd64.a file. I'll close this PR and create a new one with the library left unchanged.