SDL: cmake: HAVE_GCC_PREFERRED_STACK_BOUNDARY is not used anymore

From 87af5cfc9fca61eacf2297474d0215a3821194a3 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Sat, 7 Jan 2023 15:00:30 +0100
Subject: [PATCH] cmake: HAVE_GCC_PREFERRED_STACK_BOUNDARY is not used anymore

---
 CMakeLists.txt | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e277a72b7b51..0ed852cb4564 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -612,12 +612,6 @@ if(USE_GCC OR USE_CLANG)
     endif()
   endif()
 
-  cmake_push_check_state()
-  set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -mpreferred-stack-boundary=2")
-  check_c_source_compiles("int x = 0; int main(int argc, char **argv) { return 0; }"
-    HAVE_GCC_PREFERRED_STACK_BOUNDARY)
-  cmake_pop_check_state()
-
   cmake_push_check_state()
   set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -fvisibility=hidden -Werror")
   check_c_source_compiles("