summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVladimir Azarov <avm@intermediate-node.net>2025-01-02 12:00:28 +0100
committerVladimir Azarov <avm@intermediate-node.net>2025-01-02 12:00:28 +0100
commitb598e9aaf8e6d41311bab9df147046206bfdef26 (patch)
tree4c8f8dac6263393cae0e8407b4c360794bdf0387 /Makefile
parent06e5eea08d5c06fcca00a469608b288696ae81d1 (diff)
Fix shell pathHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index adaf1a6..93c71ad 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
CC = gcc
AR = ar
-CFLAGS = -g
+CFLAGS = -g -O3
arch = x86_64
@@ -118,8 +118,7 @@ libc.a: $(all_obj)
$(AR) rcs $@ $^
$(DESTDIR)$(bindir)/%: tools/%
- $(install_cmd)
- chmod +x $@
+ install -D -m 755 $< $@
$(DESTDIR)$(libdir)/%: %
$(install_cmd)