diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2021-12-30 09:54:00 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2021-12-30 10:54:55 +0000 |
commit | 9724b5e9e0b31a29080565f3bbbd7f3f4fcf3499 (patch) | |
tree | e0b83f2b9b720041ed814388831d398ef38d1ef0 | |
parent | 47f5cd3dc4bc8bf50479235f83a87839f0527a58 (diff) |
security/libtasn1: remove clang workaround
The previously applied clang 10+ workaround which lowered -O
optimization to -O1 appears to be no longer needed according to the
upstream issue https://gitlab.com/gnutls/libtasn1/-/issues/30.
PR: 252548
Reported by: Brad Smith
-rw-r--r-- | security/libtasn1/Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/security/libtasn1/Makefile b/security/libtasn1/Makefile index 624a067dc2e1..72c898ac460c 100644 --- a/security/libtasn1/Makefile +++ b/security/libtasn1/Makefile @@ -13,7 +13,7 @@ LICENSE= LGPL21+ GPLv3 LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING -USES= cpe libtool pathfix pkgconfig compiler +USES= cpe libtool pathfix pkgconfig USE_CSTD= c99 USE_LDCONFIG= yes GNU_CONFIGURE= yes @@ -30,15 +30,8 @@ INFO= libtasn1 DOCS_CONFIGURE_ENABLE= gtk-doc DOCS_BUILD_DEPENDS= gtkdoc-check:textproc/gtk-doc -.include <bsd.port.pre.mk> - -# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252548 -.if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 100 -CFLAGS:= ${CFLAGS:C/-O[2-9]/-O1/g} -.endif - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |