diff options
-rw-r--r-- | ChangeLog.txt | 3 | ||||
-rw-r--r-- | ports/linux/portdefs.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 5e49851..1b30c54 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,6 @@ +2016-10-29: + * (seebs) handle x32 + 2016-10-13: * (seebs) handle commas in CFLAGS diff --git a/ports/linux/portdefs.h b/ports/linux/portdefs.h index f0a0e40..cf6b375 100644 --- a/ports/linux/portdefs.h +++ b/ports/linux/portdefs.h @@ -20,7 +20,7 @@ */ #define GLIBC_COMPAT_SYMBOL(sym, ver) __asm(".symver " #sym "," #sym "@GLIBC_" #ver) -#ifdef __amd64__ +#if defined(__amd64__) && !defined(__ILP32__) GLIBC_COMPAT_SYMBOL(memcpy,2.2.5); #elif defined(__i386__) GLIBC_COMPAT_SYMBOL(memcpy,2.0); |