diff options
author | 2016-10-29 12:13:53 -0500 | |
---|---|---|
committer | 2016-10-29 12:13:53 -0500 | |
commit | 4c8a20505242fb049409f38cbc65e7b607fd0b8c (patch) | |
tree | 5869f144bf3a246d2eec0377e0bcd2c69f3b31f5 | |
parent | 7abc9396731149df5eaf43c84fed4f3053b64de6 (diff) | |
download | pseudo-4c8a20505242fb049409f38cbc65e7b607fd0b8c.tar.gz pseudo-4c8a20505242fb049409f38cbc65e7b607fd0b8c.tar.bz2 pseudo-4c8a20505242fb049409f38cbc65e7b607fd0b8c.zip |
Experimentally try to make x32 work
x32 compilation fails because x32 defines __amd64__ and thus pseudo tries
to grab a version of memcpy that's useful for amd64, and this isn't
available. Try disabling that, see what happens.
Signed-off-by: Seebs <seebs@seebs.net>
-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); |