security/libgcrypt: Fix build for powerpc/powerpcspe
- Add the missing check for powerpcspe- and powerpc- in mpi/config.links Submitted by: jhibbits Approved by: cpm (maintainer) Differential Revision: https://reviews.freebsd.org/D13854
This commit is contained in:
parent
c3ecee94f7
commit
4eba609e1a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459647
1 changed files with 13 additions and 0 deletions
13
security/libgcrypt/files/patch-mpi_config.links
Normal file
13
security/libgcrypt/files/patch-mpi_config.links
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- mpi/config.links.orig 2018-01-22 12:14:47 UTC
|
||||
+++ mpi/config.links
|
||||
@@ -301,8 +301,8 @@ case "${host}" in
|
||||
mpi_cpu_arch="ppc"
|
||||
;;
|
||||
|
||||
- powerpc*-*-netbsd* | powerpc*-*-openbsd*)
|
||||
- echo '/* configured {Open,Net}BSD on powerpc */' >>./mpi/asm-syntax.h
|
||||
+ powerpc*-*-netbsd* | powerpc*-*-openbsd* | powerpc-*-freebsd* | powerpcspe-*-freebsd*)
|
||||
+ echo '/* configured {Open,Net,Free}BSD on powerpc */' >>./mpi/asm-syntax.h
|
||||
echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
|
||||
cat $srcdir/mpi/powerpc32/syntax.h >>./mpi/asm-syntax.h
|
||||
mpi_sflags="-Wa,-mppc"
|
Loading…
Reference in a new issue