summaryrefslogtreecommitdiff
path: root/devel/isa-l/files/patch-aarch64
blob: 78cfaf02338883c8dc4c22aa6b9af75475a2d213 (plain) (blame)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
--- Makefile.am.orig	2025-05-30 12:38:07 UTC
+++ Makefile.am
@@ -71,12 +71,6 @@ endif
 other_tests += ${other_tests_x86_32}
 endif
 
-if CPU_AARCH64
-ARCH=-Daarch64
-libisal_la_SOURCES += ${lsrc_aarch64}
-other_tests += ${other_tests_aarch64}
-endif
-
 if CPU_PPC64LE
 ARCH=-Dppc64le
 libisal_la_SOURCES += ${lsrc_ppc64le}
@@ -128,20 +122,13 @@ endif
 if USE_NASM
   as_filter = ${srcdir}/tools/nasm-filter.sh
 endif
-if CPU_AARCH64
-  as_filter = $(CC) -D__ASSEMBLY__
-endif
 
 CCAS = $(as_filter)
 EXTRA_DIST += tools/yasm-filter.sh tools/nasm-filter.sh
 EXTRA_DIST += tools/yasm-cet-filter.sh tools/nasm-cet-filter.sh
 
 AM_CFLAGS = ${my_CFLAGS} ${INCLUDE} $(src_include) ${ARCH} ${D}
-if CPU_AARCH64
-AM_CCASFLAGS = ${AM_CFLAGS}
-else
 AM_CCASFLAGS = ${yasm_args} ${INCLUDE} ${src_include} ${DEFS} ${D}
-endif
 
 .asm.s:
 	@echo "  MKTMP   " $@;
--- configure.ac.orig	2025-05-30 12:36:27 UTC
+++ configure.ac
@@ -27,14 +27,11 @@ AS_CASE([$host_cpu],
   [x86_64], [CPU="x86_64"],
   [amd64], [CPU="x86_64"],
   [i?86], [CPU="x86_32"],
-  [aarch64], [CPU="aarch64"],
-  [arm64], [CPU="aarch64"],
   [powerpc64le], [CPU="ppc64le"],
   [ppc64le], [CPU="ppc64le"],
 )
 AM_CONDITIONAL([CPU_X86_64], [test "$CPU" = "x86_64"])
 AM_CONDITIONAL([CPU_X86_32], [test "$CPU" = "x86_32"])
-AM_CONDITIONAL([CPU_AARCH64], [test "$CPU" = "aarch64"])
 AM_CONDITIONAL([CPU_PPC64LE], [test "$CPU" = "ppc64le"])
 AM_CONDITIONAL([CPU_UNDEFINED], [test "x$CPU" = "x"])