- cmake is smart enough to add this flag on its own (for object files
that it links into a shared library)
- cmake contains two sets of oject files - the position-dependent ones
and the position-independent ones - and uses each set accordingly
(for linking the executable, static library, shared library)
- having an executable that unnecessarily contains position-independent
code has performance implications
I'm trying to import LZ4 code into a project with strict linting
requirements. This will make that easier.
Signed-off-by: Julius Werner <jwerner@chromium.org>
The following changes allow for builds on AIX and HPUX
with the native (non-gcc) compilers, as well as
Visual Studio 2008 and Visual Studio 2012.
Also work around a build error with gcc on Solaris
which fails due to the system detecting an attempt
to use C99 mode with an XPG mode less than XPG6.
LZ4HC : Compression Level is now a programmable parameter (CLI from 4 to 9)
Separated IO routines from command line (lz4io.c)
Version number into lz4.h (suggested by Francesc Alted)
git-svn-id: https://lz4.googlecode.com/svn/trunk@113 650e7d94-2a16-8b24-b05c-7c0b3f6821cd