|
From: kosmirror <kos...@us...> - 2025-10-19 05:01:53
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A pseudo Operating System for the Dreamcast.".
The branch, master has been updated
via 6e42550a3e06a960e16e248ea48eae53fe20e5cb (commit)
from 86a2f34e0a5fe1e5ae877f766505aa70e614d1a4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6e42550a3e06a960e16e248ea48eae53fe20e5cb
Author: QuzarDC <qu...@co...>
Date: Sat Sep 27 08:41:05 2025 -0400
kos-cc: Don't apply verbose output to version check.
As `KOS_GCCVER` relies on the output of `kos-cc -dumpversion`
being just the singular value, enabling `KOS_WRAPPERS_VERBOSE`
breaks the checking that it does by echoing the call ahead
of the output. To avoid this we have a separate use mode for
the dumpversion flag which ignores the request for verbose
output.
-----------------------------------------------------------------------
Summary of changes:
utils/build_wrappers/kos-cc | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/utils/build_wrappers/kos-cc b/utils/build_wrappers/kos-cc
index 7365aa09..642a49a2 100755
--- a/utils/build_wrappers/kos-cc
+++ b/utils/build_wrappers/kos-cc
@@ -20,6 +20,11 @@ for i in $ARGS; do
# a better way to do this. (scan for any .c?)
USEMODE=3
;;
+ -dumpversion)
+ # Used for our gcc version test which expects
+ # *just* the output and no verbose output.
+ USEMODE=4
+ ;;
*)
;;
esac
@@ -57,4 +62,9 @@ case $USEMODE in
fi
exec ${KOS_CC} ${KOS_CFLAGS} "$@"
;;
+
+ 4)
+ # -dumpversion mode. Ignore verbose.
+ exec ${KOS_CC} "$@"
+ ;;
esac
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|