mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-02-04 09:35:23 +00:00
build(Archlinux): Update GCC version in PKGBUILD to 15 (#4546)
Bump the _gcc_version variable from 14 to 15 and change makedepends to use the generic 'gcc' package. This ensures the package builds with the latest GCC version available.
This commit is contained in:
@ -20,6 +20,11 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
list(APPEND SUNSHINE_COMPILE_OPTIONS -Wno-restrict)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# GCC 15 will complain about uninitialized variables in some cases (Simple-Web-Server)
|
||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 15)
|
||||
list(APPEND SUNSHINE_COMPILE_OPTIONS -Wno-uninitialized)
|
||||
endif()
|
||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
# Clang specific compile options
|
||||
|
||||
|
||||
Reference in New Issue
Block a user