allow CXXFLAGS to be set without overwriting needed flags

This commit is contained in:
Kill Your TV 2014-10-30 01:42:06 +00:00
parent 5acbc6a23e
commit 6681e25513
3 changed files with 6 additions and 5 deletions

View file

@ -17,7 +17,7 @@ i2p: $(OBJECTS:obj/%=obj/%)
.SUFFIXES: .c .cc .C .cpp .o
obj/%.o : %.cpp
$(CXX) -o $@ $< -c $(CXXFLAGS) $(INCFLAGS) $(CPU_FLAGS)
$(CXX) -o $@ $< -c $(CXXFLAGS) $(NEEDED_CXXFLAGS) $(INCFLAGS) $(CPU_FLAGS)
obj:
mkdir -p obj