13 lines
409 B
Plaintext
13 lines
409 B
Plaintext
|
$OpenBSD: patch-gcc_gcc_c,v 1.1 2012/09/01 00:00:32 pascal Exp $
|
||
|
--- gcc/gcc.c.orig Thu Aug 30 10:04:35 2012
|
||
|
+++ gcc/gcc.c Thu Aug 30 10:04:54 2012
|
||
|
@@ -610,7 +610,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
|