blob: f172deebe01e58a82970aa9c09a6f414daea22d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
$NetBSD: patch-mpi_config.links,v 1.4 2021/06/19 11:17:53 spz Exp $
Extend the m68k assembler syntax probe to match NetBSD targets.
(...probably should just make ELF_SYNTAX the default for pkgsrc, but
not now)
--- mpi/config.links~ 2021-01-28 12:53:52.000000000 +0000
+++ mpi/config.links
@@ -279,6 +279,18 @@ case "${host}" in
path="m68k"
mpi_cpu_arch="m68k"
;;
+ m680[234]0*-*-netbsd* | \
+ m68k-*-netbsd*)
+ echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
+ cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h
+ path="m68k"
+ mpi_cpu_arch="m68k"
+ ;;
+ m68060*-*-netbsd*)
+ echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
+ cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h
+ mpi_cpu_arch="m68k"
+ ;;
m68k-atari-mint)
echo '#define MIT_SYNTAX' >>./mpi/asm-syntax.h
cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h
|