From 8653bcf4ba6a885f8508a943fad12fe9f2f1081e Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Sun, 17 Jul 2022 14:07:09 +0200 Subject: [PATCH] remove debug symbols (-g) from final module for release builds --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 51c6cc9f..6d5b0045 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ release: ## compile with releases flags cd $(SRC); phpize cd $(SRC); ./configure --enable-snuffleupagus make -C $(SRC) + strip $(SRC)/.libs/snuffleupagus.so install: release ## compile and install snuffleupagus make -C $(SRC) install