summaryrefslogtreecommitdiff
path: root/debian/patches/libffi-ro-eh_frame_sect.diff
blob: c86014316e07a8c335663ea5d44e8306adc97222 (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
@@ -275,6 +275,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