audio/alsa-tools: Fix build.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-07-06 17:27:17 -04:00 committed by Willy Sudiarto Raharjo
parent 078f50ab2d
commit 3ce834737d
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 5 additions and 1 deletions

View File

@ -13,6 +13,7 @@
# the firmware is being included in the package as well.
# *** I agree. --rworkman :-)
# 20230706 bkw: fix build (heisenbug)
# 20220402 bkw: BUILD=2, remove broken symlinks, empty /etc dir
# 20210804 bkw: update for 1.2.5 (firmware 1.2.4)
# 20200224 bkw: update for 1.2.2 (firmware 1.2.1)
@ -138,7 +139,10 @@ fi
# one loop to build them all. The -include stddef.h fixes qlo10k1 'ptrdiff_t doesn't
# name a type' errors, and doesn't hurt anything else.
for subdir in $( find . -name configure | sed -e 's,^\./,,' -e 's,/configure,,' ); do
# 20230706 bkw: add '| sort', so we don't depend on the order 'find' lists
# things. specifically, lo10k1 must come before qlo10k1.
for subdir in $( find . -name configure | sed -e 's,^\./,,' -e 's,/configure,,' | sort ); do
echo "===> $subdir"
cd $subdir
LDFLAGS="-L/usr/lib$LIBDIRSUFFIX" \