diff --git a/host-memcpy-hack.h b/host-memcpy-hack.h new file mode 100644 index 00000000..fa90a336 --- /dev/null +++ b/host-memcpy-hack.h @@ -0,0 +1,7 @@ +#ifdef __x86_64__ +/* + * Force the linker to use the older memcpy variant, so that the user programs + * work on older systems + */ +__asm__(".symver memcpy,memcpy@GLIBC_2.2.5"); +#endif