From 66d74c101cd22395ab0f97bf94d06fb0780c32d0 Mon Sep 17 00:00:00 2001 From: Gorgone Date: Mon, 28 Sep 2020 17:02:02 +0200 Subject: [PATCH] Update s3 optimize compiling parameters to remove dead code --- s3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/s3 b/s3 index 2490c69..0f8337d 100755 --- a/s3 +++ b/s3 @@ -110,8 +110,8 @@ loadprofile="no" s3cfg="$configdir/simplebuild.config" # Compiler settings -cc_warn="-W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition" -cc_opts="-ggdb -pipe -ffunction-sections -fdata-sections" +cc_warn="-W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition -Wl,dead_strip" +cc_opts="-ggdb -pipe -ffunction-sections -fdata-sections -o nodeadcode" #default url trunkurl="https://svn.streamboard.tv/oscam/trunk"