git: b6a5871a0cf4 - main - lang/gcc10: Mark PIE_UNSAFE

From: Lorenzo Salvadore <salvadore_at_FreeBSD.org>
Date: Sat, 04 Feb 2023 09:11:28 UTC
The branch main has been updated by salvadore:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b6a5871a0cf40dfc194217704e2dc03e2e91fb62

commit b6a5871a0cf40dfc194217704e2dc03e2e91fb62
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2023-02-03 19:12:49 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2023-02-04 09:10:55 +0000

    lang/gcc10: Mark PIE_UNSAFE
    
    Building the port with WITH_PIE fails if the BOOTSTRAP option is
    enabled. Mark PIE_UNSAFE when this option is enabled until a better
    solution is found.
    
    PR:             268901
    Reported by:    netchild
---
 lang/gcc10/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lang/gcc10/Makefile b/lang/gcc10/Makefile
index 19dbbea45882..7882aa8a0dc6 100644
--- a/lang/gcc10/Makefile
+++ b/lang/gcc10/Makefile
@@ -76,6 +76,7 @@ CONFIGURE_ARGS+=--disable-bootstrap
 .else
 CONFIGURE_ARGS+=--with-build-config=bootstrap-debug
 ALL_TARGET=	bootstrap-lean
+PIE_UNSAFE=    yes
 .endif
 INSTALL_TARGET=	install-strip
 .if ${UID} != 0