13 lines
409 B
Plaintext
13 lines
409 B
Plaintext
$OpenBSD: patch-gcc_gcc_c,v 1.2 2014/11/20 19:54:40 pascal Exp $
|
|
--- gcc/gcc.c.orig Wed Oct 22 23:42:48 2014
|
|
+++ gcc/gcc.c Fri Oct 31 11:59:54 2014
|
|
@@ -678,7 +678,7 @@ proper position among the other output files. */
|
|
|
|
#ifndef LINK_PIE_SPEC
|
|
#ifdef HAVE_LD_PIE
|
|
-#define LINK_PIE_SPEC "%{pie:-pie} "
|
|
+#define LINK_PIE_SPEC "%{pie:-pie} %{p|pg|nopie:-nopie} "
|
|
#else
|
|
#define LINK_PIE_SPEC "%{pie:} "
|
|
#endif
|