Browse Source

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`
Martin Bříza 3 years ago
parent
commit
41ea37f25a
1 changed files with 9 additions and 1 deletions
  1. 9 1
      Toolchain/Patches/gcc.patch

+ 9 - 1
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