zshrc: Use GCC 10 for MorphOS cross compiler
This commit is contained in:
parent
8a695dc182
commit
53717fe477
1 changed files with 3 additions and 3 deletions
6
zshrc
6
zshrc
|
@ -508,7 +508,7 @@ cross() {
|
|||
export PATH="$prefix/cross/$cross_host/bin:$PATH"
|
||||
;;
|
||||
morphos)
|
||||
local pkg="ppc-morphos-gcc-9"
|
||||
local pkg="ppc-morphos-gcc-10"
|
||||
local prefix="$(pkg_info -qp $pkg 2>/dev/null |
|
||||
awk '/^@cwd/ { print $2; exit }')"
|
||||
if [ -z "$prefix" ]; then
|
||||
|
@ -517,8 +517,8 @@ cross() {
|
|||
fi
|
||||
|
||||
export PATH="$prefix/gg/bin:$PATH"
|
||||
export CC="ppc-morphos-gcc-9"
|
||||
export CXX="ppc-morphos-g++-9"
|
||||
export CC="ppc-morphos-gcc-10"
|
||||
export CXX="ppc-morphos-g++-10"
|
||||
export OBJC="$CC"
|
||||
export OBJCXX="$CXX"
|
||||
export cross_host="ppc-morphos"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue