applying a patch to avoid build failure on ARM, related to Fast TLS
This commit is contained in:
parent
e66e0e68e1
commit
786f705158
11
mono-4.6.0-patch_arm_fast_tls.patch
Normal file
11
mono-4.6.0-patch_arm_fast_tls.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/mono/mini/mini-arm.c 2016-08-24 15:25:42.253619745 +0200
|
||||
+++ b/mono/mini/mini-arm.c 2016-08-24 15:26:00.124173662 +0200
|
||||
@@ -34,7 +34,7 @@
|
||||
#if (defined(HAVE_KW_THREAD) && defined(__linux__) && defined(__ARM_EABI__)) \
|
||||
|| defined(TARGET_ANDROID) \
|
||||
|| (defined(TARGET_IOS) && !defined(TARGET_WATCHOS))
|
||||
-#define HAVE_FAST_TLS
|
||||
+//#define HAVE_FAST_TLS
|
||||
#endif
|
||||
|
||||
/* Sanity check: This makes no sense */
|
@ -33,6 +33,7 @@ Patch1: mono-4.0.0-libgdiplusconfig.patch
|
||||
Patch2: mono-4.2.1-ppc.patch
|
||||
Patch3: mono-4.3.2-find-provides.patch
|
||||
Patch4: mono-4.2-fix-winforms-trayicon.patch
|
||||
Patch5: mono-4.6.0-patch_arm_fast_tls.patch
|
||||
|
||||
BuildRequires: bison
|
||||
BuildRequires: gcc-c++
|
||||
@ -273,6 +274,7 @@ Development file for monodoc
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
|
||||
# Add undeclared Arg
|
||||
sed -i "61a #define ARG_MAX _POSIX_ARG_MAX" mono/io-layer/wapi_glob.h
|
||||
|
Loading…
Reference in New Issue
Block a user