uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
17
pkgs/development/compilers/gcc/no-sys-dirs-riscv-gcc9.patch
Normal file
17
pkgs/development/compilers/gcc/no-sys-dirs-riscv-gcc9.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
diff --git a/gcc/config/riscv/riscv.h b/gcc/config/riscv/riscv.h
|
||||
index 701f5ea1544..8de333caf54 100644
|
||||
--- a/gcc/config/riscv/riscv.h
|
||||
+++ b/gcc/config/riscv/riscv.h
|
||||
@@ -886,11 +886,7 @@ extern unsigned riscv_stack_boundary;
|
||||
"%{mabi=lp64f:lp64f}" \
|
||||
"%{mabi=lp64d:lp64d}" \
|
||||
|
||||
-#define STARTFILE_PREFIX_SPEC \
|
||||
- "/lib" XLEN_SPEC "/" ABI_SPEC "/ " \
|
||||
- "/usr/lib" XLEN_SPEC "/" ABI_SPEC "/ " \
|
||||
- "/lib/ " \
|
||||
- "/usr/lib/ "
|
||||
+#define STARTFILE_PREFIX_SPEC ""
|
||||
|
||||
/* ISA constants needed for code generation. */
|
||||
#define OPCODE_LW 0x2003
|
||||
Loading…
Add table
Add a link
Reference in a new issue