Blame Fix-maes-msse41-leaking-into-pkgconfig.patch

92bf1f
Fix for programs depending on abseil getting unexpectedly compiled with -maes -msse4.1 (or equivalent for other platforms), raising the CPU requirement.
92bf1f
92bf1f
--- a/CMake/AbseilHelpers.cmake	2022-06-23 20:22:47.000000000 +0200
92bf1f
+++ b/CMake/AbseilHelpers.cmake	2022-07-11 16:51:58.364596579 +0200
92bf1f
@@ -166,6 +166,8 @@
92bf1f
           set(PC_CFLAGS "${PC_CFLAGS} ${cflag}")
92bf1f
         elseif(${cflag} MATCHES "^(-W|/w[1234eo])")
92bf1f
           # Don't impose our warnings on others.
92bf1f
+        elseif(${cflag} MATCHES "^-m")
92bf1f
+          # Don't impose CPU instruction requirements on others, as the code performs feature detection on runtime.
92bf1f
         else()
92bf1f
           set(PC_CFLAGS "${PC_CFLAGS} ${cflag}")
92bf1f
         endif()