Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2023 00:47:41 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 31a94c2e0067 - main - security/cryptlib: fix build on powerpc*
Message-ID:  <202305190047.34J0lfEZ075808@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305190047.34J0lfEZ075808>