aboutsummaryrefslogtreecommitdiff
path: root/system/system76-power/system76-power.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/system76-power/system76-power.SlackBuild')
-rw-r--r--system/system76-power/system76-power.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/system76-power/system76-power.SlackBuild b/system/system76-power/system76-power.SlackBuild
index cc0c7b50ec993..7ce0ed7226e22 100644
--- a/system/system76-power/system76-power.SlackBuild
+++ b/system/system76-power/system76-power.SlackBuild
@@ -171,6 +171,8 @@ find -L . \
# Prevent syslog messasge 'Unknown group "sudo" in message bus configuration file'.
patch -p1 < $CWD/fix_groups.patch
+export CARGO_HOME=.cargo
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make