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 f4657b17a449c13502114404a53835c38de5c3a5 (commit)
from 4d8a1165d929359cca0a6c91f9538cf0e71064f8 (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 f4657b17a449c13502114404a53835c38de5c3a5
Author: darc <da...@pr...>
Date: Wed May 21 14:29:00 2025 -0500
Add additional check for m4-single ABI support to fix DreamSDK issues
-----------------------------------------------------------------------
Summary of changes:
environ_dreamcast.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/environ_dreamcast.sh b/environ_dreamcast.sh
index ced09d2f..cacecaa4 100644
--- a/environ_dreamcast.sh
+++ b/environ_dreamcast.sh
@@ -14,10 +14,12 @@ fi
# Default the SH4 floating-point precision if it isn't already set.
# m4-single is used if supported by the current toolchain, otherwise
# m4-single-only is used as a fallback option.
-if [ -z "${KOS_SH4_PRECISION}" ] ; then
+if [ -z "${KOS_SH4_PRECISION}" ] || [ "${KOS_SH4_PRECISION}" = "-m4-single" ]; then
if echo 'int main(){}' | ${KOS_CC} -x c -c -o /dev/null - -m4-single 2>/dev/null; then
export KOS_SH4_PRECISION="-m4-single"
else
+ echo "WARNING: Toolchain does not support m4-single ABI -- falling back to m4-single-only ABI." >&2
+ echo "Please recompile the toolchain to enable support for the m4-single ABI." >&2
export KOS_SH4_PRECISION="-m4-single-only"
fi
fi
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|