lo.mk: Add U flag to ar to avoid ranlib warning on Debian

The warning was the following:

make: Warning: Archive 'liblocal.a' seems to have been created in deterministic
mode. 'WSlider.o' will always be updated. Please consider passing the U flag to
ar to avoid the problem.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-12-28 21:20:07 +00:00
commit 98c39336be

View file

@ -54,7 +54,7 @@ $(SO_PREFIX)%.so $(SO_PREFIX)%.dll: %.o $(CPP_PREFIX)%.o $(OTHER_LIB)
mv $@.tmp $@
$(OTHER_LIB)(%.o): %.o
$(AR) r $(OTHER_LIB) $<
$(AR) rU $(OTHER_LIB) $<
$(RANLIB) $(OTHER_LIB)
$(OTHER_LIB): $(OTHER_MEMBERS_O)