drawterm: add ppc support
This commit is contained in:
parent
b9c6fd0f64
commit
d0b6238a9f
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,8 @@ post_extract() {
|
||||||
cp ${wrksrc}/posix-arm/* ${wrksrc}/posix-aarch64/
|
cp ${wrksrc}/posix-arm/* ${wrksrc}/posix-aarch64/
|
||||||
# test-and-set implementation using GCC builtin
|
# test-and-set implementation using GCC builtin
|
||||||
cp ${FILESDIR}/tas.c ${wrksrc}/posix-aarch64/
|
cp ${FILESDIR}/tas.c ${wrksrc}/posix-aarch64/
|
||||||
|
# the bundled ppc implementation is broken
|
||||||
|
cp ${FILESDIR}/tas.c ${wrksrc}/posix-power/
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
@ -34,6 +36,7 @@ do_configure() {
|
||||||
i686*) _arch=386 ;;
|
i686*) _arch=386 ;;
|
||||||
mips*) _arch=mips ;;
|
mips*) _arch=mips ;;
|
||||||
x86_64*) _arch=amd64 ;;
|
x86_64*) _arch=amd64 ;;
|
||||||
|
ppc*) _arch=power ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
sed -i Make* */Makefile \
|
sed -i Make* */Makefile \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue