summaryrefslogtreecommitdiffstats
path: root/platform_methods.py
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-04-26 12:35:07 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-04-28 16:24:48 -0500
commite0e8ce1fc00dad7cbbcd4a1f4fcedea4b760e6be (patch)
treec6bd29831b3b146f4c67f36c101b9f150331a485 /platform_methods.py
parent6118592c6d88350d01f74faff6fd49754f84a7d0 (diff)
downloadredot-engine-e0e8ce1fc00dad7cbbcd4a1f4fcedea4b760e6be.tar.gz
SCons: Colorize warnings/errors during generation
Diffstat (limited to 'platform_methods.py')
-rw-r--r--platform_methods.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/platform_methods.py b/platform_methods.py
index 56115db4a4..57b11d1a47 100644
--- a/platform_methods.py
+++ b/platform_methods.py
@@ -39,8 +39,7 @@ def detect_arch():
# Catches x86, i386, i486, i586, i686, etc.
return "x86_32"
else:
- print("Unsupported CPU architecture: " + host_machine)
- print("Falling back to x86_64.")
+ methods.print_warning(f'Unsupported CPU architecture: "{host_machine}". Falling back to x86_64.')
return "x86_64"