1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-26 18:02:30 +03:00

Remove debug info from installed binaries

This commit is contained in:
Rui Ueyama 2021-05-18 20:10:45 +09:00
parent 30eb2b74c8
commit 0cdac81166

View File

@ -66,8 +66,12 @@ test: all
install: all
install -m 755 mold $(PREFIX)/bin
strip $(PREFIX)/bin/mold
install -m 755 -d $(PREFIX)/lib/mold
install -m 644 mold-wrapper.so $(PREFIX)/lib/mold
strip $(PREFIX)/lib/mold/mold-wrapper.so
install -m 644 docs/mold.1 $(PREFIX)/share/man/man1
rm -f $(PREFIX)/share/man/man1/mold.1.gz
gzip -9 $(PREFIX)/share/man/man1/mold.1