mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
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
This commit is contained in:
parent
47f5cd3dc4
commit
9724b5e9e0
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user