mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-06-11 16:46:51 +02:00
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:
parent
38b901484a
commit
25b5068f5e
4 changed files with 6 additions and 4 deletions
|
@ -3,5 +3,6 @@ CXXFLAGS = -O2
|
|||
NEEDED_CXXFLAGS = -std=c++11
|
||||
include filelist.mk
|
||||
INCFLAGS = -I/usr/include/ -I/usr/local/include/
|
||||
LDFLAGS = -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lcryptopp -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_program_options -lpthread
|
||||
LDFLAGS = -Wl,-rpath,/usr/local/lib -L/usr/local/lib
|
||||
LDLIBS = -lcryptopp -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_program_options -lpthread
|
||||
LIBS =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue