From 3607e9588b84030120191a3835dd17596053492c Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 21 Jul 2026 14:46:04 -0500 Subject: [PATCH] Don't append to existing build.sh, rewrite it. (Caused the compiler flags comparison to fail, forcing a full rebuild.) --- scripts/make.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/make.sh b/scripts/make.sh index 59dabb88..5a23bae4 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -111,8 +111,8 @@ COMPFLAGS="$(compflags)" && eval "$COMPFLAGS" && echo $'#!/bin/sh\n' echo "$COMPFLAGS" echo FILES=$'"\n'"$(fold -s <<<"$TOYFILES")"$'\n"\n' && - echo -e "\$BUILD lib/*.c \$FILES \$LINK -o $OUTNAME" -} >> "$GENDIR"/build.sh && chmod +x "$GENDIR"/build.sh || exit 1 + echo -e "\$SKIP \$BUILD lib/*.c \$FILES \$LINK -o $OUTNAME" +} > "$GENDIR"/build.sh && chmod +x "$GENDIR"/build.sh || exit 1 # newtoys.h is a list of USE_XXX(NEWTOY(xxx...)) lines, one per command. { # The multiplexer is the first element in the array -- 2.39.5