diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-01-22 01:28:18 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-01-22 01:29:06 +0100 |
commit | a12a10679017d89194c0dd873f44804b64f71102 (patch) | |
tree | eb378bc28f4be55aa8dc4221fbc9ffc9839160c3 /Makefile.am | |
parent | 4362d1a0c20b8490ffc3115ac4bd93183a670af6 (diff) |
Fix build on 64bit host
When stealing the memset function from the 32bit host libc on a 64bit host
system, glibc tends to bring unwanted references to _Unwind_Resume,
__gcc_personality_v0, etc. So let's stop stealing memset.
* kern/strings.c (memset): New function.
* Makefile.am (clib_routines): Remove memset.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 0c98bfd..319b7e8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -156,7 +156,7 @@ noinst_PROGRAMS += \ gnumach.o # This is the list of routines we decide is OK to steal from the C library. -clib_routines := memcmp memcpy memmove memset \ +clib_routines := memcmp memcpy memmove \ strchr strstr strsep strtok \ htonl htons ntohl ntohs \ udivdi3 __udivdi3 \ |