--- a/Makefile	2023-03-14 17:56:42.460087712 +0800
+++ b/Makefile	2023-03-14 17:55:21.035843959 +0800
@@ -5,7 +5,7 @@
 libdir = /lib
 SYSTEMD_LIB_DIR = ${libdir}
 SYSTEMD_SERVICE_DIR = ${SYSTEMD_LIB_DIR}/systemd/system/
-GOBUILD = env GOPATH="${CURDIR}/${GOBUILD_DIR}:${GOPATH}" go build
+GOBUILD = env GOPATH="${CURDIR}/${GOBUILD_DIR}:${GOPATH}" go build -ldflags "-s" -buildmode=pie
 
 LIBRARIES = \
     thumbnails \
