wok-next view gcc/stuff/patches/320-libffi-gnulinux.patch @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
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