diff options
author | Rechi <Rechi@users.noreply.github.com> | 2017-08-07 11:33:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-07 11:33:28 +0200 |
commit | a8fe8e3ef87715c538fbfd6c0c09750346e928d8 (patch) | |
tree | eb9fe6c0d30347bb0bf15c299c615b8fed78dbac /tools | |
parent | 1f395332e34b5c251d0e241e8a5302c1916f867a (diff) | |
parent | 4a4185d5f2b6d32470c8169f677dfe363aff2088 (diff) |
Merge pull request #12637 from pkerling/libusb-no-Werror
Build libusb without -Werror
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/target/libusb/Makefile | 1 | ||||
-rw-r--r-- | tools/depends/target/libusb/no-Werror.patch | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tools/depends/target/libusb/Makefile b/tools/depends/target/libusb/Makefile index 56a59727d6..7cffa4a56e 100644 --- a/tools/depends/target/libusb/Makefile +++ b/tools/depends/target/libusb/Makefile @@ -23,6 +23,7 @@ $(TARBALLS_LOCATION)/$(ARCHIVE): $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS) rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM) cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) + cd $(PLATFORM); patch -p1 -i ../no-Werror.patch cd $(PLATFORM); $(CONFIGURE) $(LIBDYLIB): $(PLATFORM) diff --git a/tools/depends/target/libusb/no-Werror.patch b/tools/depends/target/libusb/no-Werror.patch new file mode 100644 index 0000000000..def6d2127e --- /dev/null +++ b/tools/depends/target/libusb/no-Werror.patch @@ -0,0 +1,11 @@ +--- x86_64-linux-gnu-debug/Makefile.in 2006-03-04 03:54:03.000000000 +0100 ++++ 2/Makefile.in 2017-08-05 23:16:06.385493550 +0200 +@@ -257,7 +257,7 @@ + # gnu strictness chokes on README being autogenerated + AUTOMAKE_OPTIONS = 1.4 foreign + SUBDIRS = . tests doc +-AM_CFLAGS = -Werror $(AM_CFLAGS_EXT) ++AM_CFLAGS = $(AM_CFLAGS_EXT) + configincludedir = $(pkglibdir)/include + bin_SCRIPTS = libusb-config + EXTRA_DIST = LICENSE libusb.spec.in libusb.spec libusb-config.in README.in README \ |