git: 587e43aed0a4 - main - mail/milter-callback: No longer cater to GCC 4.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Nov 2022 07:15:16 UTC
The branch main has been updated by gerald:
URL: https://cgit.FreeBSD.org/ports/commit/?id=587e43aed0a41ccf813d71f6f2380d4af164e3a7
commit 587e43aed0a41ccf813d71f6f2380d4af164e3a7
Author: Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2022-11-27 07:12:55 +0000
Commit: Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2022-11-27 07:12:55 +0000
mail/milter-callback: No longer cater to GCC 4.2
USES=compiler no longer can pull in the old GCC 4.2-based system
compiler, so remove special handling of that case.
Approved by: ehaupt (maintainer)
---
mail/milter-callback/Makefile | 4 ----
1 file changed, 4 deletions(-)
diff --git a/mail/milter-callback/Makefile b/mail/milter-callback/Makefile
index e07a116c681f..28160789596c 100644
--- a/mail/milter-callback/Makefile
+++ b/mail/milter-callback/Makefile
@@ -28,10 +28,6 @@ LDFLAGS+= -lmilter -lthr -L${LOCALBASE}/lib -lspf2
.include <bsd.port.pre.mk>
-.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
-CFLAGS+= -fnested-functions
-.endif
-
do-build:
.for f in ${SRC_FILES}
${CC} ${CFLAGS} -c ${WRKSRC}/${f} -o ${WRKSRC}/${f:C/\.c/.o/}