Merge r329781 by tijl to fix the build with clang on i386

This commit is contained in:
Florian Smeets 2013-10-10 22:02:17 +00:00
parent f2de329aa5
commit 1dfd54b282
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330036
2 changed files with 22 additions and 0 deletions

View File

@ -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

View File

@ -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