diff core/attr/attr.sh @ 147:605b4a7b264a

vanilla: general cleanup
author David Demelier <markand@malikania.fr>
date Mon, 11 Mar 2019 20:36:00 +0100
parents e737b80da269
children 9e95fda0e5c6
line wrap: on
line diff
--- a/core/attr/attr.sh	Mon Mar 11 16:49:41 2019 +0100
+++ b/core/attr/attr.sh	Mon Mar 11 20:36:00 2019 +0100
@@ -27,9 +27,9 @@
 : ${CBUILD:=$(uname -m)-linux-musl}
 : ${CC:=gcc}
 : ${CFLAGS:=-O2}
-: ${NLS:=yes}
 : ${LDFLAGS:=}
 : ${LIBS:=}
+: ${NLS:=yes}
 
 if [ "$NLS" = "yes" ]; then
 	PKGDEPENDS="core/gettext $PKGDEPENDS"
@@ -49,13 +49,13 @@
 	LDFLAGS="$LDFLAGS" \
 	LIBS="$LIBS" \
 	./configure \
-		--build=${CBUILD} \
-		--host=${CHOST} \
+		--build=CBUILD \
+		--host=CHOST \
 		--prefix=/usr \
 		--sysconfdir=/etc \
 		--disable-static \
 		--enable-shared \
-		${with_nls}
+		$with_nls
 	make
 	make install DESTDIR=$DESTDIR
 	rm -f $DESTDIR/usr/lib/libattr.la