diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-02-11 08:17:28 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-02-11 08:17:28 (GMT) |
commit | 0557ac94e60517c7280b5d3c41fbcea07188c6df (patch) | |
tree | f22124548ddf89f65fa5d057cca75dd81902463d | |
parent | edef5d26c1f33dd6dadaec60989b19b15c9c7f18 (diff) | |
download | mxe-0557ac94e60517c7280b5d3c41fbcea07188c6df.zip mxe-0557ac94e60517c7280b5d3c41fbcea07188c6df.tar.gz mxe-0557ac94e60517c7280b5d3c41fbcea07188c6df.tar.bz2 |
use explicitly "patch -u" to avoid warnings about guessing the patch type
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/gcc.mk | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -140,7 +140,7 @@ build-only-$(1): cd '$(2)' && $(call UNPACK_PKG_ARCHIVE,$(1)) cd '$(2)/$($(1)_SUBDIR)' $(foreach PKG_PATCH,$(sort $(wildcard $(TOP_DIR)/src/$(1)-*.patch)), - (cd '$(2)/$($(1)_SUBDIR)' && patch -p1) < $(PKG_PATCH)) + (cd '$(2)/$($(1)_SUBDIR)' && patch -p1 -u) < $(PKG_PATCH)) $$(call $(1)_BUILD,$(2)/$($(1)_SUBDIR),$(TOP_DIR)/src/$(1)-test) rm -rfv '$(2)' ,) @@ -42,7 +42,7 @@ define $(PKG)_BUILD cd '$(1)' && \ for p in '$(1)'/gcc-tdm/*.patch; do \ $(SED) 's,\r$$,,' -i "$$p" || exit 1; \ - patch -p1 < "$$p" || exit 1; \ + patch -p1 -u < "$$p" || exit 1; \ done # unpack support libraries cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,gcc-gmp) |