From 98c39336bebbef55bb598976395ee5c7c415ca0f Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 28 Dec 2017 21:20:07 +0000 Subject: [PATCH] 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 --- make/lo.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/lo.mk b/make/lo.mk index b7a7488e..92056d64 100644 --- a/make/lo.mk +++ b/make/lo.mk @@ -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)