Get universal builds working again

Now we use lipo and build individually so we can pass the correct
compiler flags per arch
This commit is contained in:
Kovid Goyal
2024-01-24 21:49:14 +05:30
parent 7e77a196e6
commit 8dd6f9b07c
4 changed files with 116 additions and 71 deletions

View File

@@ -12,11 +12,12 @@
#include "charsets.h"
// Boilerplate {{{
#ifdef __clang__
_Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wbitwise-instead-of-logical\"")
#if defined(__clang__) && __clang_major__ > 12
_Pragma("clang diagnostic push")
_Pragma("clang diagnostic ignored \"-Wbitwise-instead-of-logical\"")
#endif
#include <simde/x86/avx2.h>
#ifdef __clang__
#if defined(__clang__) && __clang_major__ > 12
_Pragma("clang diagnostic pop")
#endif