mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
fix(gcc^13)
This commit is contained in:
parent
20765569fa
commit
8431d4f67a
|
@ -33,9 +33,9 @@ build:
|
||||||
rmdir {{deps.gnu.org/gcc.prefix}}/lib64
|
rmdir {{deps.gnu.org/gcc.prefix}}/lib64
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Branch from the Darwin maintainer of GCC, with a few generic fixes and
|
if test -n "$PATCH{{version.major}}"; then
|
||||||
# Apple Silicon support, located at https://github.com/iains/gcc-12-branch
|
curl "$PATCH{{version.major}}" | patch -p1 -d..
|
||||||
curl https://raw.githubusercontent.com/Homebrew/formula-patches/1d184289/gcc/gcc-12.2.0-arm.diff | patch -p1 -d..
|
fi
|
||||||
|
|
||||||
ARGS=($ARGS --with-pkgversion="tea GCC {{version}}")
|
ARGS=($ARGS --with-pkgversion="tea GCC {{version}}")
|
||||||
if test {{hw.platform}} = "linux"; then
|
if test {{hw.platform}} = "linux"; then
|
||||||
|
@ -57,6 +57,11 @@ build:
|
||||||
rmdir lib64
|
rmdir lib64
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
|
# Branch from the Darwin maintainer of GCC, with a few generic fixes and
|
||||||
|
# Apple Silicon support, located at https://github.com/iains/gcc-12-branch
|
||||||
|
PATCH12: https://raw.githubusercontent.com/Homebrew/formula-patches/1d184289/gcc/gcc-12.2.0-arm.diff
|
||||||
|
# https://github.com/iains/gcc-darwin-arm64
|
||||||
|
PATCH13: https://raw.githubusercontent.com/Homebrew/formula-patches/master/gcc/gcc-13.1.0.diff
|
||||||
ARGS:
|
ARGS:
|
||||||
- --prefix={{ prefix }}
|
- --prefix={{ prefix }}
|
||||||
- --libdir={{ prefix }}/lib
|
- --libdir={{ prefix }}/lib
|
||||||
|
|
Loading…
Reference in a new issue