diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -34,13 +34,13 @@ configure-libc: printf '%s\n' \ 'libc_cv_slibdir=/lib/$(OPK_HOST_ARCH)' \ >>libcbuild/config.cache; \ - if [ -n "$${TOOLS_PREFIX}" ]; then \ - BINUTILS="--with-binutils=$${TOOLS_PREFIX}/bin"; \ + if [ 'x$(TOOLS_PREFIX)' != 'x' ]; then \ + BINUTILS="--with-binutils=$(TOOLS_PREFIX)/bin"; \ else \ BINUTILS=; \ fi && \ - if [ -n "$${HEADERS_PREFIX}" ]; then \ - HEADERS="--with-headers=$${HEADERS_PREFIX}/usr/include"; \ + if [ 'x$(HEADERS_PREFIX)' != 'x' ]; then \ + HEADERS="--with-headers=$(HEADERS_PREFIX)/usr/include"; \ else \ HEADERS=; \ fi && \ @@ -53,8 +53,8 @@ configure-libc: --enable-kernel=3.2.0 \ --with-tls --with-__thread --without-cvs \ --without-selinux --without-gd \ - $${BINUTILS} \ - $${HEADERS} \ + $(BINUTILS) \ + $(HEADERS) \ --cache-file=config.cache touch $@ |