mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
cabbage: need libatomic on some platforms
This commit is contained in:
parent
c8c4fcc92c
commit
d69bcbec1b
1 changed files with 5 additions and 0 deletions
|
@ -31,6 +31,11 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
ppc*) CXXFLAGS="-DPNG_POWERPC_VSX_OPT=0" ;;
|
ppc*) CXXFLAGS="-DPNG_POWERPC_VSX_OPT=0" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
|
makedepends+=" libatomic-devel"
|
||||||
|
LDFLAGS=" -latomic"
|
||||||
|
fi
|
||||||
|
|
||||||
# without TARGET_ARCH, the build system will assume -march=native,
|
# without TARGET_ARCH, the build system will assume -march=native,
|
||||||
# which is wrong as we're building a generic package and -march does
|
# which is wrong as we're building a generic package and -march does
|
||||||
# not even always work
|
# not even always work
|
||||||
|
|
Loading…
Add table
Reference in a new issue