valyala / gozstd

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

Add MOREFLAGS variable to Makefile #12

Closed stepanbujnak closed 4 years ago

stepanbujnak commented 4 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 4 years ago

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #12   +/-   ##
=======================================
  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...db23642. Read the comment docs.

valyala commented 4 years ago

Thanks for the contribution, @stepanbujnak !