git: b4c1a16d0d16 - main - devel/tigcc: Drop special casing for GCC 4.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Feb 2023 20:37:23 UTC
The branch main has been updated by gerald:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b4c1a16d0d161e829e5115aeaf90376d2a865088
commit b4c1a16d0d161e829e5115aeaf90376d2a865088
Author: Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2023-02-27 19:54:57 +0000
Commit: Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2023-02-27 20:31:58 +0000
devel/tigcc: Drop special casing for GCC 4.2
Remove code specifically added for GCC 4.2 which we no longer ship.
This reverts part of e355cf10adbccd14e55f8bb391b3f2c27e60732a from
December 2018.
Approved by: danfe (maintainer)
---
devel/tigcc/Makefile | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/devel/tigcc/Makefile b/devel/tigcc/Makefile
index 0315094429c1..5f999b19ffd1 100644
--- a/devel/tigcc/Makefile
+++ b/devel/tigcc/Makefile
@@ -141,10 +141,4 @@ do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${CP} ${WRKSRC}/tigcc/tigcclib/examples/* ${STAGEDIR}${EXAMPLESDIR}/
-.include <bsd.port.pre.mk>
-
-.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
-CFLAGS+= -fnested-functions
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>