diff options
author | K. Eugene Carlson <kvngncrlsn@gmail.com> | 2022-03-10 00:38:18 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-10 12:40:15 +0700 |
commit | 479ac84af0a5c0b7e689544581769af0b7b90f8b (patch) | |
tree | 9a9c7c99778d45ec44b3c03de1d4ada7b90709e7 /system/system76-power | |
parent | 290b94f8ea8647cffbc4230bc24249598128f924 (diff) |
git/cargo: avoid writing to $HOME/.cargo
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/system76-power')
-rw-r--r-- | system/system76-power/system76-power.SlackBuild | 2 |
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 |