mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
Fix mysql51/55/56 build with clang on i386.
The included yassl library contains inline asm (only for i386) using intel syntax which clang does not support. For now, just disable the inline asm when clang is used and use the standard C implementation like on every other architecture. Approved by: ale (maintainer)
This commit is contained in:
parent
06df37e34f
commit
879931c62f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329781
@ -0,0 +1,11 @@
|
||||
--- extra/yassl/taocrypt/include/misc.hpp.orig
|
||||
+++ extra/yassl/taocrypt/include/misc.hpp
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
|
||||
// no gas on these systems ?, disable for now
|
||||
-#if defined(__sun__) || defined (__APPLE__)
|
||||
+#if defined(__sun__) || defined (__APPLE__) || defined(__clang__)
|
||||
#define TAOCRYPT_DISABLE_X86ASM
|
||||
#endif
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- extra/yassl/taocrypt/include/misc.hpp.orig
|
||||
+++ extra/yassl/taocrypt/include/misc.hpp
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
|
||||
// no gas on these systems ?, disable for now
|
||||
-#if defined(__sun__) || defined (__APPLE__)
|
||||
+#if defined(__sun__) || defined (__APPLE__) || defined(__clang__)
|
||||
#define TAOCRYPT_DISABLE_X86ASM
|
||||
#endif
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- extra/yassl/taocrypt/include/misc.hpp.orig
|
||||
+++ extra/yassl/taocrypt/include/misc.hpp
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
|
||||
// no gas on these systems ?, disable for now
|
||||
-#if defined(__sun__) || defined (__APPLE__)
|
||||
+#if defined(__sun__) || defined (__APPLE__) || defined(__clang__)
|
||||
#define TAOCRYPT_DISABLE_X86ASM
|
||||
#endif
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- extra/yassl/taocrypt/include/misc.hpp.orig
|
||||
+++ extra/yassl/taocrypt/include/misc.hpp
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
|
||||
// no gas on these systems ?, disable for now
|
||||
-#if defined(__sun__) || defined (__APPLE__)
|
||||
+#if defined(__sun__) || defined (__APPLE__) || defined(__clang__)
|
||||
#define TAOCRYPT_DISABLE_X86ASM
|
||||
#endif
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- extra/yassl/taocrypt/include/misc.hpp.orig
|
||||
+++ extra/yassl/taocrypt/include/misc.hpp
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
|
||||
// no gas on these systems ?, disable for now
|
||||
-#if defined(__sun__) || defined (__APPLE__)
|
||||
+#if defined(__sun__) || defined (__APPLE__) || defined(__clang__)
|
||||
#define TAOCRYPT_DISABLE_X86ASM
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user