summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Esden-Tempski <piotr@esden.net>2011-01-08 04:17:07 +0100
committerPiotr Esden-Tempski <piotr@esden.net>2011-01-08 04:17:07 +0100
commite489f98fa7081127b55f234d145d0c5f356f17c3 (patch)
treea51f3bc5cf93dbd96e0bd7388fd6b8578dc6f036
parente739ab803544aa524066e4e9dcd490e4ab6ea5d1 (diff)
Should fix the problem with hanging CFLAGS and LDFLAGS of OOCD.
-rwxr-xr-xsummon-arm-toolchain4
1 files changed, 2 insertions, 2 deletions
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 \