wok-next view gcc/stuff/patches/320-libffi-gnulinux.patch @ rev 21726
updated firefox-official (77.0 -> 81.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Sep 27 14:34:31 2020 +0100 (2020-09-27) |
parents | |
children |
line source
1 diff --git a/libffi/closures.c.orig b/libffi/closures.c
2 index 721ff00..22a699c 100644
3 --- a/libffi/src/closures.c.orig
4 +++ b/libffi/src/closures.c
5 @@ -34,7 +34,7 @@
6 #include <ffi_common.h>
8 #if !FFI_MMAP_EXEC_WRIT && !FFI_EXEC_TRAMPOLINE_TABLE
9 -# if __gnu_linux__ && !defined(__ANDROID__)
10 +# if __linux__ && !defined(__ANDROID__)
11 /* This macro indicates it may be forbidden to map anonymous memory
12 with both write and execute permission. Code compiled when this
13 option is defined will attempt to map such pages once, but if it