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
22
pkgs/development/libraries/v8/darwin.patch
Normal file
22
pkgs/development/libraries/v8/darwin.patch
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
diff --git a/toolchain/gcc_toolchain.gni b/toolchain/gcc_toolchain.gni
|
||||
index 80e2a362a..df138c87b 100644
|
||||
--- a/build/toolchain/gcc_toolchain.gni
|
||||
+++ b/build/toolchain/gcc_toolchain.gni
|
||||
@@ -355,6 +355,8 @@ template("gcc_toolchain") {
|
||||
# AIX does not support either -D (deterministic output) or response
|
||||
# files.
|
||||
command = "$ar -X64 {{arflags}} -r -c -s {{output}} {{inputs}}"
|
||||
+ } else if (current_os == "mac") {
|
||||
+ command = "$ar {{arflags}} -r -c -s {{output}} {{inputs}}"
|
||||
} else {
|
||||
rspfile = "{{output}}.rsp"
|
||||
rspfile_content = "{{inputs}}"
|
||||
@@ -546,7 +548,7 @@ template("gcc_toolchain") {
|
||||
|
||||
start_group_flag = ""
|
||||
end_group_flag = ""
|
||||
- if (current_os != "aix") {
|
||||
+ if (current_os != "aix" && current_os != "mac") {
|
||||
# the "--start-group .. --end-group" feature isn't available on the aix ld.
|
||||
start_group_flag = "-Wl,--start-group"
|
||||
end_group_flag = "-Wl,--end-group "
|
||||
Loading…
Add table
Add a link
Reference in a new issue