RetroPie-Setup/scriptmodules/admin/crosscomp/asan_limits.diff
Jools Wills 94e19df5a9 crosscomp - add support for building bookwork arm cross compiler
Split out header include fix from bullseye.diff into own patch file as it's also needed on gcc 12.x.

Apply patch for GCC versions greater than 10.
2023-11-01 22:09:09 +00:00

12 lines
385 B
Diff
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# fixes gcc/libsanitizer/asan/asan_linux.cpp:217:21: error: PATH_MAX was not declared in this scope
--- a/gcc/libsanitizer/asan/asan_linux.cpp
+++ b/gcc/libsanitizer/asan/asan_linux.cpp
@@ -31,7 +31,7 @@
#include <sys/types.h>
#include <dlfcn.h>
#include <fcntl.h>
-#include <limits.h>
+#include <linux/limits.h>
#include <pthread.h>
#include <stdio.h>
#include <unistd.h>