mirror of https://github.com/PurpleI2P/i2pd.git
Browse Source
These commits removed the 'NEEDED*' vars which were added so that CXX* and LDFLAGS could be specified at build time. By doing away with these and using solely CXXFLAGS and LDFLAGS, special flags cannot be added. Indeed, specifying your own CXXFLAGS would cause the build to fail. We want the build flags to be APPENDED, not overwritten.pull/118/head
Kill Your TV
10 years ago
3 changed files with 14 additions and 15 deletions
@ -1,5 +1,6 @@ |
|||||||
CXX = g++ |
CXX = g++ |
||||||
CXXFLAGS = -g -Wall -O2 -std=c++11 |
CXXFLAGS = -O2 |
||||||
|
NEEDED_CXXFLAGS = -std=c++11 |
||||||
INCFLAGS = -I/usr/include/ -I/usr/local/include/ |
INCFLAGS = -I/usr/include/ -I/usr/local/include/ |
||||||
LDFLAGS = -Wl,-rpath,/usr/local/lib -L/usr/local/lib |
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 |
LDLIBS = -lcryptopp -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_program_options -lpthread |
||||||
|
Loading…
Reference in new issue