mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 04:14:17 +08:00
Also strip libraries using --strip-unneeded
This commit is contained in:
parent
bb2b3fa60b
commit
bdf32d1873
@ -21,7 +21,10 @@ prefix: $(PREFIX_INSTALL)
|
||||
|
||||
PREFIX_STRIP=\
|
||||
mkdir -p bin libexec "$(TARGET)/bin" && \
|
||||
find bin libexec "$(TARGET)/bin" -type f -exec strip {} ';' 2> /dev/null
|
||||
find bin libexec "$(TARGET)/bin" "$(TARGET)/lib" \
|
||||
-type f \
|
||||
-exec strip --strip-unneeded {} ';' \
|
||||
2> /dev/null
|
||||
|
||||
$(PREFIX)/relibc-install: $(ROOT)/relibc | $(PREFIX)/gcc-install
|
||||
rm -rf "$@.partial" "$@"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user