mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 04:05:40 +03:00
Build with Eric Timmon's musl patches, build on armv7 & x86_64. aarch64 port in progress.
27 lines
673 B
Diff
27 lines
673 B
Diff
#2020/01/30 Patch has not yet been accepted upstream
|
|
From 8324ebd0b476dc267f4e315253d799701b04cc0f Mon Sep 17 00:00:00 2001
|
|
From: Eric Timmons <etimmons@mit.edu>
|
|
Date: Sun, 24 Feb 2019 17:28:49 -0500
|
|
Subject: [PATCH 4/4] 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
|
|
--- a/src/runtime/memcpy.h
|
|
+++ b/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.24.1
|
|
|