void-packages/srcpkgs/sbcl/patches/only-use-memcpy-version-on-...

28 lines
668 B
Diff

#2020/01/30 Patch has not yet been accepted upstream
From 5d7395cbd4eb952d4a988c4ee7ee3f5111a9f5a7 Mon Sep 17 00:00:00 2001
From: Eric Timmons <etimmons@mit.edu>
Date: Sat, 1 Feb 2020 17:34:10 -0500
Subject: [PATCH 4/5] Only include old memcpy version on glibc
---
src/runtime/memcpy.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/runtime/memcpy.h b/src/runtime/memcpy.h
index a99c5fb7e..e3d104e3a 100644
--- src/runtime/memcpy.h
+++ src/runtime/memcpy.h
@@ -1,3 +1,4 @@
+#ifdef __GLIBC__
#ifdef __linux__
#ifdef __amd64__
#ifdef __ASSEMBLER__
@@ -14,3 +15,4 @@ __asm__(".symver memcpy,memcpy@GLIBC_2.0");
#endif
#endif
#endif
+#endif
--
2.25.0