mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
games/uqm-megamod: Fix build with MAKEFLAGS.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
8b79c080a0
commit
d625e2fe22
1 changed files with 2 additions and 1 deletions
|
@ -81,7 +81,8 @@ sh build.sh uqm reprocess_config
|
|||
# use our flags:
|
||||
sed -i "s/-O3/$SLKCFLAGS/g" build.vars
|
||||
|
||||
sh build.sh uqm $MAKEFLAGS
|
||||
# extract only -jNUM from MAKEFLAGS, any other flags, like -lNUM will break the build.
|
||||
sh build.sh uqm $(printf '%s\n' "$MAKEFLAGS" | grep -o -e '-j[0-9]\+' | head -n 1)
|
||||
|
||||
mkdir -p $PKG/usr/games
|
||||
install -s -m0755 UrQuanMasters $PKG/usr/games/$PRGNAM
|
||||
|
|
Loading…
Reference in a new issue