Browse Source

openocd: pass --disable-werror to fix build issues

Should fix:

  http://autobuild.buildroot.org/results/91d/91d2ae34f14f1978e0985e75f803055d51201a93/

and similar build problems.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni 10 năm trước cách đây
mục cha
commit
2b937ae4a0
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 4 2
      package/openocd/openocd.mk

+ 4 - 2
package/openocd/openocd.mk

@@ -16,7 +16,8 @@ OPENOCD_CONF_OPTS = \
 	--disable-doxygen-html \
 	--with-jim-shared=no \
 	--disable-shared \
-	--enable-dummy
+	--enable-dummy \
+	--disable-werror
 
 # Rely on the Config.in options of each individual adapter selecting
 # the dependencies they need.
@@ -93,7 +94,8 @@ HOST_OPENOCD_CONF_OPTS = \
 	--disable-doxygen-html \
 	--with-jim-shared=no \
 	--disable-shared \
-	--enable-dummy
+	--enable-dummy \
+	--disable-werror
 
 HOST_OPENOCD_DEPENDENCIES = host-libftdi host-libusb host-libusb-compat