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:
parent
30eb2b74c8
commit
0cdac81166
4
Makefile
4
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user