mirror of
https://github.com/richfelker/musl-cross-make.git
synced 2025-04-19 23:44:58 +02:00
gcc 4.8.5: add patch for mips build break in absence of kernel-headers
This commit is contained in:
parent
f7512f6b5d
commit
f125cfdae5
12
patches/gcc-4.8.5/mips-unwind.diff
Normal file
12
patches/gcc-4.8.5/mips-unwind.diff
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- gcc-4.7.4.org/libgcc/config/mips/linux-unwind.h
|
||||||
|
+++ gcc-4.7.4/libgcc/config/mips/linux-unwind.h
|
||||||
|
@@ -28,7 +28,8 @@
|
||||||
|
state data appropriately. See unwind-dw2.c for the structs. */
|
||||||
|
|
||||||
|
#include <signal.h>
|
||||||
|
-#include <asm/unistd.h>
|
||||||
|
+#include <unistd.h>
|
||||||
|
+#include <sys/syscall.h>
|
||||||
|
|
||||||
|
/* The third parameter to the signal handler points to something with
|
||||||
|
* this structure defined in asm/ucontext.h, but the name clashes with
|
Loading…
Reference in New Issue
Block a user