diff options
author | Boris Pek <tehnick-8@yandex.ru> | 2016-05-04 16:08:06 (GMT) |
---|---|---|
committer | Boris Pek <tehnick-8@yandex.ru> | 2016-05-04 16:16:28 (GMT) |
commit | 0f813cdff46324946674f0802dcd2061ce2eee61 (patch) | |
tree | 178df51029d779cad35b51dfb362b64f78b75cb4 | |
parent | f593aef0b212fea2a79a804ba6cda01daf4c6445 (diff) | |
download | mxe-0f813cdff46324946674f0802dcd2061ce2eee61.zip mxe-0f813cdff46324946674f0802dcd2061ce2eee61.tar.gz mxe-0f813cdff46324946674f0802dcd2061ce2eee61.tar.bz2 |
Makefile: simplify work with patches
Fix annoying "different line endings" problem of patch tool.
https://stackoverflow.com/questions/2076688/how-to-use-patches-created-in-windows-with-crlf-in-linuxi
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -199,7 +199,7 @@ define PREPARE_PKG_SOURCE cd '$(2)' && $(call UNPACK_PKG_ARCHIVE,$(1)) cd '$(2)/$($(1)_SUBDIR)' $(foreach PKG_PATCH,$(PKG_PATCHES), - (cd '$(2)/$($(1)_SUBDIR)' && $(PATCH) -p1 -u) < $(PKG_PATCH)) + (cd '$(2)/$($(1)_SUBDIR)' && $(PATCH) -p1 -u --binary) < $(PKG_PATCH)) endef PKG_CHECKSUM = \ |