Pass --disable-werror to openocd.
authorUwe Hermann <uwe@hermann-uwe.de>
Sun, 9 Oct 2011 22:28:57 +0000 (00:28 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Sun, 9 Oct 2011 22:28:57 +0000 (00:28 +0200)
Without this there can be compile errors on some platforms or
compiler versions.

summon-arm-toolchain

index 705b9cc20528f3c2eee6d74d257c6b2944fe3433..558f3149839488e4c1c2911070b9dd3d23a3f277 100755 (executable)
@@ -442,6 +442,7 @@ if [ ! -e ${STAMPS}/openocd-${OOCD}.build ]; then
     CFLAGS="${CFLAGS} ${OOCD_CFLAGS}" \
     LDFLAGS="${LDFLAGS} ${OOCD_LDFLAGS}" \
     ../openocd-${OOCD}/configure --enable-maintainer-mode \
+                                --disable-werror \
                                 --prefix=${PREFIX} \
                                 --enable-dummy \
                                 --enable-ft2232_libftdi \