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"