diff --git a/contrib/build-linux/appimage/build.sh b/contrib/build-linux/appimage/build.sh index ecf1273eb..c5733ff56 100755 --- a/contrib/build-linux/appimage/build.sh +++ b/contrib/build-linux/appimage/build.sh @@ -178,13 +178,14 @@ info "Copying additional libraries" info "stripping binaries from debug symbols." # "-R .note.gnu.build-id" also strips the build id +# "-R .comment" also strips the GCC version information strip_binaries() { chmod u+w -R "$APPDIR" { printf '%s\0' "$APPDIR/usr/bin/python3.6" find "$APPDIR" -type f -regex '.*\.so\(\.[0-9.]+\)?$' -print0 - } | xargs -0 --no-run-if-empty --verbose -n1 strip -R .note.gnu.build-id + } | xargs -0 --no-run-if-empty --verbose strip -R .note.gnu.build-id -R .comment } strip_binaries