mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
lo.mk: Make OTHER_CPP default assignment a ?=
Most notably, this allows to define OTHER_CPP to the empty string. Which effectively speeds up the build by not creating a local.a, and disabling symbol sharing in that directory by means of the library. With local.a, all other .so files have to be relinked and installed to BUILD_LIB_DIR after a change in a single source file. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
fa08895775
commit
6395fa892c
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ LOADABLE_OBJ_CPP = $(patsubst %,%.cpp,$(LOADABLE_OBJS))
|
|||
LOADABLE_OBJS_O = $(patsubst %,%.o,$(LOADABLE_OBJS))
|
||||
|
||||
OTHER_CPP_IGNORE = $(patsubst %,$(CPP_PREFIX)%.cpp,$(LOADABLE_OBJ_IGNORE))
|
||||
OTHER_CPP = $(filter-out $(LOADABLE_OBJ_CPP) $(OTHER_CPP_IGNORE),$(wildcard *.cpp))
|
||||
OTHER_CPP ?= $(filter-out $(LOADABLE_OBJ_CPP) $(OTHER_CPP_IGNORE),$(wildcard *.cpp))
|
||||
ifneq ($(OTHER_CPP),)
|
||||
OTHER_O = $(patsubst %.cpp,%.o,$(OTHER_CPP))
|
||||
OTHER_LIB = liblocal.a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue