wok-next view gcc/stuff/patches/320-libffi-gnulinux.patch @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
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