From 41ea37f25a453067da64fa8c3a9cc9a768e28e68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20B=C5=99=C3=ADza?= Date: Wed, 15 Dec 2021 21:36:16 +0100 Subject: [PATCH] Toolchain/GCC: Declare we don't have memalign I'm not even sure if this is a hack. However, we don't implement memalign so it's necessary to tell GCC so it doesn't go looking for it in their implementation of `new` --- Toolchain/Patches/gcc.patch | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Toolchain/Patches/gcc.patch b/Toolchain/Patches/gcc.patch index cc01364978..07b90c4718 100644 --- a/Toolchain/Patches/gcc.patch +++ b/Toolchain/Patches/gcc.patch @@ -368,7 +368,15 @@ index 326a279c5..6b76901dc 100755 if test x$gcc_no_link = xyes; then # Setting cross_compile will disable run tests; it will # also disable AC_CHECK_FILE but that's generally -@@ -29270,6 +29262,5986 @@ else +@@ -29264,6 +29256,5 @@ if + + $as_echo "#define HAVE_ICONV 1" >>confdefs.h + +- $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h + + else + +@@ -29270,6 +29261,5986 @@ else # Base decisions on target environment. case "${host}" in