From: Piotr Esden-Tempski Date: Sat, 8 Jan 2011 03:17:07 +0000 (+0100) Subject: Should fix the problem with hanging CFLAGS and LDFLAGS of OOCD. X-Git-Url: https://git.gag.com/?p=fw%2Fcortex-toolchain;a=commitdiff_plain;h=e489f98fa7081127b55f234d145d0c5f356f17c3 Should fix the problem with hanging CFLAGS and LDFLAGS of OOCD. --- diff --git a/summon-arm-toolchain b/summon-arm-toolchain index 2a12296..ff196e8 100755 --- a/summon-arm-toolchain +++ b/summon-arm-toolchain @@ -383,8 +383,8 @@ if [ ! -e ${STAMPS}/openocd-${OOCD}.build ]; then unpack openocd-${OOCD} cd build log "Configuring openocd-${OOCD}" - export CFLAGS="${OOCD_CFLAGS}" - export LDFLAGS="${OOCD_LDFLAGS}" + CFLAGS="${CFLAGS} ${OOCD_CFLAGS}" \ + LDFLAGS="${LDFLAGS} ${OOCD_LDFLAGS}" \ ../openocd-${OOCD}/configure --enable-maintainer-mode \ --prefix=${PREFIX} \ --enable-dummy \