summaryrefslogtreecommitdiff
path: root/system/gcc/0012-static-pie.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/gcc/0012-static-pie.patch')
-rw-r--r--system/gcc/0012-static-pie.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/gcc/0012-static-pie.patch b/system/gcc/0012-static-pie.patch
index 03a4f68f6..0600c791e 100644
--- a/system/gcc/0012-static-pie.patch
+++ b/system/gcc/0012-static-pie.patch
@@ -123,7 +123,7 @@ index eb1610ba8b0..87560afb03c 100644
#ifdef HAVE_LD_PIE
#ifndef LD_PIE_SPEC
-#define LD_PIE_SPEC "-pie"
-+#define LD_PIE_SPEC "-pie %{static|static-pie:--no-dynamic-linker -z text -Bsymbolic}"
++#define LD_PIE_SPEC "-pie %{static|static-pie:--no-dynamic-linker -z text -Bstatic}"
#endif
#else
#define LD_PIE_SPEC ""