Automatically adjust ARFLAGS so "make -s" is really silent.
This commit is contained in:
parent
07a69a18c2
commit
1954be6e9c
@ -127,7 +127,11 @@ OBJCOPY = $(CROSS_COMPILE)objcopy
|
||||
OBJDUMP = $(CROSS_COMPILE)objdump
|
||||
RANLIB = $(CROSS_COMPILE)RANLIB
|
||||
|
||||
ifneq (,$(findstring s,$(MAKEFLAGS)))
|
||||
ARFLAGS = cr
|
||||
else
|
||||
ARFLAGS = crv
|
||||
endif
|
||||
RELFLAGS= $(PLATFORM_RELFLAGS)
|
||||
DBGFLAGS= -g # -DDEBUG
|
||||
OPTFLAGS= -Os #-fomit-frame-pointer
|
||||
|
Loading…
Reference in New Issue
Block a user