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 705b9cc..558f314 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 \