From 901061035604ace324b8560da5eba4e3bc29c689 Mon Sep 17 00:00:00 2001 From: Charlie Birks Date: Mon, 23 Jan 2023 11:55:51 +0000 Subject: [PATCH] Update stdlibs Should fix linker errors with GCC > 10 --- 32blit.toolchain | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/32blit.toolchain b/32blit.toolchain index 88c76f32a..4d288b16c 100644 --- a/32blit.toolchain +++ b/32blit.toolchain @@ -35,8 +35,8 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON) # stdlibs set(STDLIB_HASHTYPE "SHA256") set(STDLIB_PATH ${CMAKE_CURRENT_LIST_DIR}/stdlib) -set(STDLIB_URL https://github.com/32blit/stdlibs/releases/download/newlib-3.3.0-gcc-9.2.0/stdlibs.zip) -set(STDLIB_HASH "${STDLIB_HASHTYPE}=0431fa7b3fe5e463424078546560b06490890abf4967745ac85b8b6b430d1941") +set(STDLIB_URL https://github.com/32blit/stdlibs/releases/download/newlib-4.2.0-gcc-12.2.0/stdlibs.zip) +set(STDLIB_HASH "${STDLIB_HASHTYPE}=27cb9b1a2545c86139351cbc8b9db7182ba751bead13f71eae5dcab95f8080b6") if(${CMAKE_VERSION} VERSION_LESS "3.18") find_program(UNZIP NAMES unzip)