From 479ac84af0a5c0b7e689544581769af0b7b90f8b Mon Sep 17 00:00:00 2001 From: "K. Eugene Carlson" Date: Thu, 10 Mar 2022 00:38:18 +0900 Subject: git/cargo: avoid writing to $HOME/.cargo Signed-off-by: Willy Sudiarto Raharjo --- system/system76-power/system76-power.SlackBuild | 2 ++ 1 file changed, 2 insertions(+) (limited to 'system/system76-power') diff --git a/system/system76-power/system76-power.SlackBuild b/system/system76-power/system76-power.SlackBuild index cc0c7b50ec..7ce0ed7226 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 -- cgit v1.2.3