From 0dc4fcc22e932c76a039105f4aa5c1ce29c31764 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 21 Oct 2026 23:57:41 -0500 Subject: [PATCH] Change $NOSTRIP fallback to copy unstripped via ln instead of cp so I don't have to clean generated/tags.h for scripts/prereq. --- scripts/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make.sh b/scripts/make.sh index 8a621e6d..e75861ed 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -253,7 +253,7 @@ if [ -n "$NOSTRIP" ] || then [ -z "$NOSTRIP" ] && echo "strip failed, using unstripped" rm -f "$OUTNAME" && - cp "$UNSTRIPPED" "$OUTNAME" || exit 1 + ln -f "$UNSTRIPPED" "$OUTNAME" || exit 1 fi # Remove write bit set so buggy installs (like bzip's) don't overwrite the -- 2.39.5