aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/207-static-pie.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-10-25 17:51:24 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-10-25 17:51:24 +0000
commitc9e1d3182f84e917a20d1836b163082455a8eb6b (patch)
treef2941ab03e52fc3220089ca96554b9b1cc503186 /main/gcc/207-static-pie.patch
parentf5f90852a2c0d638e41f2c35e7594ec5328bda08 (diff)
downloadaports-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.patch2
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 ""