summarylogtreecommitdiffstats
path: root/disable-pie.patch
blob: 1e779183389069d359fac45fabf517d90eb6e945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- LinuxToolChain.cs	2017-07-17 20:25:14.590741366 -0400
+++ LinuxToolChain.cs.orig	2017-07-17 20:19:16.482922293 -0400
@@ -404,8 +404,6 @@
 			Result += " -Wno-invalid-offsetof";
 			// we use this feature to allow static FNames.
 			Result += " -Wno-gnu-string-literal-operator-template";
-			// disable PIE which is on by default in Arch since July 2017
-			Result += " -fno-pie";
 
 			if (CompileEnvironment.bEnableShadowVariableWarnings)
 			{
@@ -595,9 +593,6 @@
 				Result += string.Format(" -Wl,--unresolved-symbols=ignore-in-shared-libs");
 			}
 
-			// disable PIE which is on by default in Arch since July 2017
-			Result += " -nopie";
-
 			// RPATH for third party libs
 			Result += " -Wl,-rpath=${ORIGIN}";
 			Result += " -Wl,-rpath-link=${ORIGIN}";