diff --git a/extra/systrace/build b/extra/systrace/build.sh old mode 100644 new mode 100755 similarity index 64% rename from extra/systrace/build rename to extra/systrace/build.sh index d3578d15..8d6b7a8e --- a/extra/systrace/build +++ b/extra/systrace/build.sh @@ -1,3 +1,4 @@ -clang tracy_systrace.c -s -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -fno-stack-protector -Wl,-z,norelro -Wl,--build-id=none -nostdlib -ldl -strip --strip-all -R .note.gnu.gold-version -R .comment -R .note -R .note.gnu.build-id -R .note.ABI-tag -R .eh_frame -R .eh_frame_hdr -R .gnu.hash -R .gnu.version -R .got a.out -sstrip -z a.out (elfkickers) +#!/bin/sh +clang tracy_systrace.c -s -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -fno-stack-protector -Wl,-z,norelro -Wl,--build-id=none -nostdlib -ldl -o tracy_systrace +strip --strip-all -R .note.gnu.gold-version -R .comment -R .note -R .note.gnu.build-id -R .note.ABI-tag -R .eh_frame -R .eh_frame_hdr -R .gnu.hash -R .gnu.version -R .got tracy_systrace +sstrip -z tracy_systrace