mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
cctools: add patch I forgot
This commit is contained in:
parent
e4dba74e8a
commit
4f8a1094bd
17
pkgs/os-specific/darwin/cctools/undo-unknown-triple.patch
Normal file
17
pkgs/os-specific/darwin/cctools/undo-unknown-triple.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff --git a/cctools/as/driver.c b/cctools/as/driver.c
|
||||
index b06d085..c03397a 100644
|
||||
--- a/cctools/as/driver.c
|
||||
+++ b/cctools/as/driver.c
|
||||
@@ -363,12 +363,6 @@ char **envp)
|
||||
/* Add -c or clang will run ld(1). */
|
||||
new_argv[j] = "-c";
|
||||
j++;
|
||||
- /* cctools-port start */
|
||||
- new_argv[j] = "-target";
|
||||
- j++;
|
||||
- new_argv[j] = "unknown-apple-darwin";
|
||||
- j++;
|
||||
- /* cctools-port end */
|
||||
new_argv[j] = NULL;
|
||||
if(execute(new_argv, verbose))
|
||||
exit(0);
|
Loading…
Reference in New Issue
Block a user