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
15
pkgs/tools/compression/flips/use-system-libdivsufsort.patch
Normal file
15
pkgs/tools/compression/flips/use-system-libdivsufsort.patch
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
diff --git a/Makefile b/Makefile
|
||||
index c9d8b6d..9d66b0b 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -79,9 +79,7 @@ endif
|
||||
MOREFLAGS := $(CFLAGS_$(TARGET))
|
||||
|
||||
|
||||
-DIVSUF := libdivsufsort-2.0.1
|
||||
-SOURCES += $(DIVSUF)/lib/divsufsort.c $(DIVSUF)/lib/sssort.c $(DIVSUF)/lib/trsort.c
|
||||
-MOREFLAGS += -I$(DIVSUF)/include -DHAVE_CONFIG_H -D__STDC_FORMAT_MACROS
|
||||
+MOREFLAGS += -ldivsufsort
|
||||
|
||||
ifeq ($(TARGET),gtk)
|
||||
CFLAGS_G += -fopenmp
|
||||
Loading…
Add table
Add a link
Reference in a new issue