From c9e1d3182f84e917a20d1836b163082455a8eb6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 25 Oct 2016 17:51:24 +0000 Subject: main/gcc: add ld -Bsymbolic for static pie linking ref #6372 --- main/gcc/207-static-pie.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/gcc/207-static-pie.patch') diff --git a/main/gcc/207-static-pie.patch b/main/gcc/207-static-pie.patch index 44c6c70152..9355c584b5 100644 --- a/main/gcc/207-static-pie.patch +++ b/main/gcc/207-static-pie.patch @@ -34,7 +34,7 @@ index 0208d61..731564e 100644 #ifdef HAVE_LD_PIE #ifndef LD_PIE_SPEC -#define LD_PIE_SPEC "-pie" -+#define LD_PIE_SPEC "-pie %{static:--no-dynamic-linker}" ++#define LD_PIE_SPEC "-pie %{static:--no-dynamic-linker -Bsymbolic}" #endif #else #define LD_PIE_SPEC "" -- cgit v1.2.3