gmic: fix build on ppc
This commit is contained in:
parent
3938774f05
commit
60ca9efc4c
|
@ -20,6 +20,10 @@ nocross="https://build.voidlinux.org/builders/armv7l_builder/builds/8869/steps/s
|
||||||
pre_build() {
|
pre_build() {
|
||||||
# Fix library names for openexr-2.4.0
|
# Fix library names for openexr-2.4.0
|
||||||
vsed -i Makefile -e "s;-lIlmImf -lHalf;-lIlmImf-2_4 -lHalf-2_4;"
|
vsed -i Makefile -e "s;-lIlmImf -lHalf;-lIlmImf-2_4 -lHalf-2_4;"
|
||||||
|
# Not supported on ppc but we already compile for baselines
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
ppc*) vsed -i Makefile -e 's;-mtune=generic;;' ;;
|
||||||
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Reference in New Issue