1.1 --- a/scripts/build/debug/300-gdb.sh Sun Mar 03 15:30:02 2013 +0100
1.2 +++ b/scripts/build/debug/300-gdb.sh Sun Mar 03 16:19:32 2013 +0100
1.3 @@ -145,12 +145,8 @@
1.4 LD_for_gdb="ld -static"
1.5 fi
1.6
1.7 - if [ "${need_expat_src}" = "y" ]; then
1.8 - cross_extra_config+=("--with-expat=yes")
1.9 - else
1.10 - cross_extra_config+=("--disable-expat")
1.11 - cross_extra_config+=("--with-expat=no")
1.12 - fi
1.13 + cross_extra_config+=("--enable-expat")
1.14 + cross_extra_config+=("--with-expat=yes")
1.15
1.16 [ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && \
1.17 cross_extra_config+=("--disable-nls")
1.18 @@ -283,10 +279,10 @@
1.19 # Build libexpat
1.20 CT_DoLog EXTRA "Building static target expat"
1.21 CT_mkdir_pushd "${CT_BUILD_DIR}/build-expat-target-${CT_TARGET}"
1.22 - do_expat_backend host="${CT_TARGET}" \
1.23 - prefix="${CT_BUILD_DIR}/static-target" \
1.24 - cflags="" \
1.25 - ldflags=""
1.26 + do_gdb_expat_backend host="${CT_TARGET}" \
1.27 + prefix="${CT_BUILD_DIR}/static-target" \
1.28 + cflags="" \
1.29 + ldflags=""
1.30 CT_Popd
1.31 native_extra_config+=("--with-expat")
1.32 native_extra_config+=("--with-libexpat-prefix=${CT_BUILD_DIR}/static-target")