sdl2-compat: cmake: don't pass -fno-strict-aliasing compile option

From 8549fc38bbd41a1516ec124eaaa036d00c2541c0 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Wed, 9 Aug 2023 01:00:37 +0200
Subject: [PATCH] cmake: don't pass -fno-strict-aliasing compile option

---
 cmake/sdlcompilers.cmake | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/cmake/sdlcompilers.cmake b/cmake/sdlcompilers.cmake
index bbf9b1f..299a6a0 100644
--- a/cmake/sdlcompilers.cmake
+++ b/cmake/sdlcompilers.cmake
@@ -54,11 +54,6 @@ function(SDL_AddCommonCompilerFlags TARGET)
       target_compile_options(${TARGET} PRIVATE "-Wundef")
     endif()
 
-    check_c_compiler_flag(-fno-strict-aliasing HAVE_GCC_NO_STRICT_ALIASING)
-    if(HAVE_GCC_NO_STRICT_ALIASING)
-      target_compile_options(${TARGET} PRIVATE "-fno-strict-aliasing")
-    endif()
-
     check_c_compiler_flag(-Wdocumentation HAVE_GCC_WDOCUMENTATION)
     if(HAVE_GCC_WDOCUMENTATION)
       if(ARGS_WERROR)