GNU ar warning about deterministic mode

GNU ar currently produces the following string of warnings:
Warning: Archive 'libefi.a' seems to have been created in
deterministic mode.
'<file>.o' will always be updated. Please consider passing
the U flag to ar to avoid the problem. This patch fixes the issue.

Signed-off-by: Pete Batard <pete@akeo.ie>
Signed-off-by: Nigel Croxon <noxorc@users.sf.net>
This commit is contained in:
Nigel Croxon 2016-11-21 10:59:13 -05:00
parent 8071303f52
commit bd38ba4b6b

1
Make.defaults Normal file → Executable file
View File

@ -156,6 +156,7 @@ CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \
-fno-stack-check
endif
ARFLAGS += -U
ASFLAGS += $(ARCH3264)
LDFLAGS += -nostdlib --warn-common --no-undefined --fatal-warnings \
--build-id=sha1