Fixes for OS X (required removing -static flag and -pthreads flag, inclu...

...de endian.h)

All tests pass.  See wiki for Mac OS X installation.  Confirm that removing -static and -pthreads flags is acceptable.
Let me know if it does.  I guess we can have os specific args.

On Friday, June 27, 2014, Dima <notifications@github.com> wrote:

> In test/cpp/Makefile:
>
> > @@ -1,6 +1,6 @@
> >  CPP=g++
> > -CPPFLAGS=-std=c++11 -g
> > -LDFLAGS=-pthread -lgflags -lglog -lleveldb -lboost_system -lboost_filesystem -static
> > +CPPFLAGS=-std=c++11 -g -I .
> > +LDFLAGS=-lgflags -lglog -lleveldb -lboost_system -lboost_filesystem
>
> This likely breaks a non-Mac build. [image: :-1:]
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Staance/tailproduce/pull/13/files#r14322489>.
>