Skip to content

Instantly share code, notes, and snippets.

@wangjiezhe
Created May 7, 2023 04:38
Show Gist options
  • Save wangjiezhe/d535786515cc5507698ecee247c9f8d6 to your computer and use it in GitHub Desktop.
Save wangjiezhe/d535786515cc5507698ecee247c9f8d6 to your computer and use it in GitHub Desktop.
fix multilib setting for sys-devel/crossdev
--- /usr/bin/crossdev 2022-12-17 00:33:21.559942156 +0800
+++ /opt/crossdev 2023-01-10 16:23:25.131824325 +0800
@@ -1310,7 +1310,7 @@
force+=" multilib"
;;
*)
- mask+=" multilib";;
+ mask+=" $( [[ ${MULTILIB_USE} == "yes" ]] && echo - )multilib";;
esac
set_use_mask ${pkg} "${mask}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment