diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-10-25 17:51:24 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-10-25 17:51:24 +0000 |
commit | c9e1d3182f84e917a20d1836b163082455a8eb6b (patch) | |
tree | f2941ab03e52fc3220089ca96554b9b1cc503186 /main/gcc/207-static-pie.patch | |
parent | f5f90852a2c0d638e41f2c35e7594ec5328bda08 (diff) | |
download | aports-c9e1d3182f84e917a20d1836b163082455a8eb6b.tar.bz2 aports-c9e1d3182f84e917a20d1836b163082455a8eb6b.tar.xz |
main/gcc: add ld -Bsymbolic for static pie linking
ref #6372
Diffstat (limited to 'main/gcc/207-static-pie.patch')
-rw-r--r-- | main/gcc/207-static-pie.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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 "" |