summaryrefslogtreecommitdiff
path: root/games/uqm/uqm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/uqm/uqm.SlackBuild')
-rw-r--r--games/uqm/uqm.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/uqm/uqm.SlackBuild b/games/uqm/uqm.SlackBuild
index ffcf6eaffe..e5a81f5666 100644
--- a/games/uqm/uqm.SlackBuild
+++ b/games/uqm/uqm.SlackBuild
@@ -94,7 +94,7 @@ fi
build_config | sh build.sh uqm config
-sed -i "s/-O3/$SLKCFLAGS/" build.vars
+sed -i -e "s/-O3/$SLKCFLAGS/" -e '/LDFLAGS/s,-lz,-lz -lm,' build.vars
sh build.sh uqm
strip $PRGNAM