about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorRen Kararou <[email protected]>2024-12-26 01:56:32 -0600
committerRen Kararou <[email protected]>2024-12-26 01:56:32 -0600
commitfe076d7d465e2adba3d5e0855b48145c42df9805 (patch)
tree477ce51f94b6b9d124548ec1c7b600cda2befa2a
parent746cd14f273a96c0348f4e64f9b347ce49a93f45 (diff)
downloadnbtpd-fe076d7d465e2adba3d5e0855b48145c42df9805.tar.gz
nbtpd-fe076d7d465e2adba3d5e0855b48145c42df9805.tar.bz2
nbtpd-fe076d7d465e2adba3d5e0855b48145c42df9805.zip
add optimizations cinder recommended
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index f5a993a..a1d7711 100644
--- a/makefile
+++ b/makefile
@@ -1,6 +1,6 @@
 CC:=clang
-CFLAGS:=-O3 -funroll-loops
-LDFLAGS:=-flto
+CFLAGS:=-march=native -O3 -funroll-loops
+LDFLAGS:=-flto=thin
 
 INCLUDES=-Iinc/