diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-05-19 02:45:58 +0200 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-05-19 02:47:33 +0200 |
commit | 31a94c2e0067a73f26a4b039acfe85ab898b37fd (patch) | |
tree | f1914c8cd9ad62e6b35a51ff35640b8329948b2f /security/cryptlib/files/patch-tools_ccopts.sh | |
parent | devel/mtbl: upgrade to 1.5.1 (diff) |
security/cryptlib: fix build on powerpc*
Same as on armv7.
Diffstat (limited to 'security/cryptlib/files/patch-tools_ccopts.sh')
-rw-r--r-- | security/cryptlib/files/patch-tools_ccopts.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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. |