goxel: use libatomic on ppc32
This commit is contained in:
parent
d5aee8e1d4
commit
4e7843fc54
1 changed files with 4 additions and 2 deletions
|
@ -14,7 +14,8 @@ distfiles="https://github.com/guillaumechereau/goxel/archive/v${version}.tar.gz"
|
|||
checksum=12b0e4504b8ed1bc351c75d8d17136c7bc169ce59705fd0dde562492185f1381
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv6*) makedepends+=" libatomic-devel";;
|
||||
ppc64*) ;;
|
||||
armv6*|ppc*) makedepends+=" libatomic-devel";;
|
||||
esac
|
||||
|
||||
pre_build() {
|
||||
|
@ -24,7 +25,8 @@ pre_build() {
|
|||
-e "/conf = env.Configure()/ a env.Replace(CXX = \"$CXX\")"
|
||||
fi
|
||||
case $XBPS_TARGET_MACHINE in
|
||||
armv6*) vsed -i SConstruct \
|
||||
ppc64*) ;;
|
||||
armv6*|ppc*) vsed -i SConstruct \
|
||||
-e "/conf = env.Configure()/ a env.Append(LIBS='atomic')"
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue