mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
change Mac sim archive operate from replace to quick insertion
'rcS' will case files that has duplicate name been replaced. so on the Mac platform we use 'q' instead of 'r' to achieve an effect similar to '-P' Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
4aa3c9cd73
commit
225bd13381
@@ -39,6 +39,6 @@
|
||||
# https://opensource.apple.com/source/cctools/cctools-949.0.1/misc/
|
||||
|
||||
set -e
|
||||
ar rcS "$@"
|
||||
ar qcS "$@"
|
||||
# Note: the following line is using bash process substitution
|
||||
ranlib -no_warning_for_no_symbols "$1" 2> >(grep -F -v "the table of contents is empty")
|
||||
Reference in New Issue
Block a user