git: 31a94c2e0067 - main - security/cryptlib: fix build on powerpc*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 May 2023 00:47:41 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=31a94c2e0067a73f26a4b039acfe85ab898b37fd commit 31a94c2e0067a73f26a4b039acfe85ab898b37fd Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-05-19 00:45:58 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-05-19 00:47:33 +0000 security/cryptlib: fix build on powerpc* Same as on armv7. --- security/cryptlib/files/patch-tools_ccopts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/cryptlib/files/patch-tools_ccopts.sh b/security/cryptlib/files/patch-tools_ccopts.sh index ba77cf411fb5..040bf62ddbf0 100644 --- a/security/cryptlib/files/patch-tools_ccopts.sh +++ b/security/cryptlib/files/patch-tools_ccopts.sh @@ -5,7 +5,7 @@ if [ $ISCLANG -gt 0 ] && [ $ISSPECIAL -eq 0 ] ; then if [ $COMPILER_VER -ge 47 ] ; then - if [ "$OSNAME" = "Darwin" ] || [ "$OSNAME" = "OpenBSD" ] ; then -+ if [ "$OSNAME" = "Darwin" ] || [ "$OSNAME" = "OpenBSD" ] || [ "$OSNAME" = "FreeBSD" -a "$ARCH" = "arm" ] ; then ++ if [ "$OSNAME" = "Darwin" ] || [ "$OSNAME" = "OpenBSD" ] || [ "$OSNAME" = "FreeBSD" -a "$ARCH" = "arm" ] || [ "$OSNAME" = "FreeBSD" -a "$ARCH" = "powerpc" ]; then # The versions of clang shipped with OS X or OpenBSD don't # support -fsanitize=safe-stack even as late as clang 12, so # there's not much that we can do.