git: f8988a423117 - main - security/veracrypt: Fix build on aarch64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Jun 2025 00:02:45 UTC
The branch main has been updated by acm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f8988a4231174670f3b99fd3382e197410a5affe
commit f8988a4231174670f3b99fd3382e197410a5affe
Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2025-06-08 00:02:15 +0000
Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2025-06-08 00:02:15 +0000
security/veracrypt: Fix build on aarch64
---
.../files/patch-src_Build_Include_Makefile.inc | 38 ++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/security/veracrypt/files/patch-src_Build_Include_Makefile.inc b/security/veracrypt/files/patch-src_Build_Include_Makefile.inc
new file mode 100644
index 000000000000..bb70cc0b38ff
--- /dev/null
+++ b/security/veracrypt/files/patch-src_Build_Include_Makefile.inc
@@ -0,0 +1,38 @@
+--- src/Build/Include/Makefile.inc 2025-06-07 16:38:57.314038000 -0700
++++ src/Build/Include/Makefile.inc 2025-06-07 16:41:54.192457000 -0700
+@@ -26,19 +26,35 @@
+
+ %.osse41: %.c
+ @echo Compiling $(<F)
++ifeq "$(PLATFORM_ARCH)" "arm64"
++ $(CC) $(CFLAGS) -c $< -o $@
++else
+ $(CC) $(CFLAGS) -mssse3 -msse4.1 -c $< -o $@
++endif
+
+ %.oshani: %.c
+ @echo Compiling $(<F)
++ifeq "$(PLATFORM_ARCH)" "arm64"
++ $(CC) $(CFLAGS) -c $< -o $@
++else
+ $(CC) $(CFLAGS) -mssse3 -msse4.1 -msha -c $< -o $@
++endif
+
+ %.oaesni: %.c
+ @echo Compiling $(<F)
++ifeq "$(PLATFORM_ARCH)" "arm64"
++ $(CC) $(CFLAGS) -c $< -o $@
++else
+ $(CC) $(CFLAGS) -mssse3 -msse4.1 -maes -c $< -o $@
++endif
+
+ %.ossse3: %.c
+ @echo Compiling $(<F)
++ifeq "$(PLATFORM_ARCH)" "arm64"
++ $(CC) $(CFLAGS) -c $< -o $@
++else
+ $(CC) $(CFLAGS) -mssse3 -c $< -o $@
++endif
+
+ %.oarmv8crypto: %.c
+ @echo Compiling $(<F)