summaryrefslogtreecommitdiff
path: root/debian/patches/libffi-ro-eh_frame_sect.diff
blob: 4da147b435df298b458ce5b7d7180b7f1ee2b9bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# DP: PR libffi/47248, force a read only eh frame section.

Index: b/src/libffi/configure.ac
===================================================================
--- a/src/libffi/configure.ac
+++ b/src/libffi/configure.ac
@@ -270,6 +270,8 @@ if test "x$GCC" = "xyes"; then
   		libffi_cv_hidden_visibility_attribute=yes
   	    fi
   	fi
+	# FIXME: see PR libffi/47248
+	libffi_cv_ro_eh_frame=yes
   	rm -f conftest.*
       ])
   if test $libffi_cv_hidden_visibility_attribute = yes; then