git: 57ea9f921cac - main - devel/freebsd-gcc*: Drop stale workaround for arm targets.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 04 Jul 2023 17:14:36 UTC
The branch main has been updated by jhb:

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

commit 57ea9f921cac5a808010757b6f73e621b6898873
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-07-04 17:14:07 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-07-04 17:14:07 +0000

    devel/freebsd-gcc*: Drop stale workaround for arm targets.
    
    This workaround to force -fbracket-depth=512 was removed from lang/gcc
    during the upgrade from gcc 4.8 to gcc 5.
---
 devel/freebsd-gcc12/Makefile | 6 ------
 devel/freebsd-gcc9/Makefile  | 6 ------
 2 files changed, 12 deletions(-)

diff --git a/devel/freebsd-gcc12/Makefile b/devel/freebsd-gcc12/Makefile
index dd000f5624e3..677f60f8c5dd 100644
--- a/devel/freebsd-gcc12/Makefile
+++ b/devel/freebsd-gcc12/Makefile
@@ -90,12 +90,6 @@ CONFIGURE_TARGET=	x86_64-unknown-${OPSYS:tl}${OSREL}
 CONFIGURE_TARGET=	${ARCH}-unknown-${OPSYS:tl}${OSREL}
 .endif
 
-.if ${TARGETARCH:Marm*} || ${TARGETARCH} == "aarch64"
-. if ${CHOSEN_COMPILER_TYPE} == clang
-MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512
-. endif
-.endif
-
 .if ${TARGETARCH} == "amd64" || ${TARGETARCH} == "powerpc64"
 CONFIGURE_ARGS+=--enable-multilib
 .endif
diff --git a/devel/freebsd-gcc9/Makefile b/devel/freebsd-gcc9/Makefile
index 3ab8b7af908e..79d93195ca76 100644
--- a/devel/freebsd-gcc9/Makefile
+++ b/devel/freebsd-gcc9/Makefile
@@ -88,12 +88,6 @@ CONFIGURE_TARGET=	x86_64-unknown-${OPSYS:tl}${OSREL}
 CONFIGURE_TARGET=	${ARCH}-unknown-${OPSYS:tl}${OSREL}
 .endif
 
-.if ${TARGETARCH:Marm*} || ${TARGETARCH} == "aarch64"
-. if ${CHOSEN_COMPILER_TYPE} == clang
-MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512
-. endif
-.endif
-
 .if ${TARGETARCH} == "amd64" || ${TARGETARCH} == "powerpc64"
 CONFIGURE_ARGS+=--enable-multilib
 .endif