allow LDFLAGS to be set by user

Move old LDFLAGS variable to LDLIBS. By doing ths, a user can set their
own LDFLAGS without breaking the build. A case in which this can be
useful is hardening with debian, e.g.

    $ dpkg-buildflags --get LDFLAGS
    -Wl,-z,relro
This commit is contained in:
Kill Your TV 2014-10-30 22:47:19 +00:00
parent 38b901484a
commit 25b5068f5e
4 changed files with 6 additions and 4 deletions

View file

@ -19,7 +19,7 @@ endif
include filelist.mk
INCFLAGS =
LDFLAGS = -lcryptopp -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_program_options -lpthread
LDLIBS = -lcryptopp -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_program_options -lpthread
LIBS =