ports/lang/bootgcc/patches/patch-gcc_gcc_c

13 lines
330 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: gcc/gcc.c
--- gcc/gcc.c.orig
+++ gcc/gcc.c
@@ -928,7 +928,7 @@ proper position among the other output files. */
#else
#define LD_PIE_SPEC ""
#endif
-#define LINK_PIE_SPEC "%{static|shared|r:;" PIE_SPEC ":" LD_PIE_SPEC "} "
+#define LINK_PIE_SPEC "%{pie:-pie} %{p|pg|nopie:-nopie} "
#endif
#ifndef LINK_BUILDID_SPEC