monero-core: fix armv[56]*
This commit is contained in:
parent
d6c7272247
commit
3e2da1ad3c
|
@ -19,6 +19,11 @@ checksum=39870b40b81cfe986c4ccd379fdde2cf34dabe8e427f7a9723e73ec9ee4ceae0
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
echo "var GUI_VERSION = \"${version}\"" > version.js
|
echo "var GUI_VERSION = \"${version}\"" > version.js
|
||||||
echo "var GUI_MONERO_VERSION = \"${version}\"" >> version.js
|
echo "var GUI_MONERO_VERSION = \"${version}\"" >> version.js
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
armv[56]*) # armv[56]* need to link libatomic.a for __atomic_fetch_sub_8
|
||||||
|
sed -i *.pro -e "s;-lreadline ;-lreadline -latomic ;"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
|
@ -26,10 +31,11 @@ pre_build() {
|
||||||
# The dictgen binary is executed during the build to generate code
|
# The dictgen binary is executed during the build to generate code
|
||||||
# but is not included in the binary package. It thus needs to be
|
# but is not included in the binary package. It thus needs to be
|
||||||
# built for the host
|
# built for the host
|
||||||
CXX=${CXX_host} CXXFLAGS=${XBPS_CXXFLAGS} LDFLAGS=${XBPS_LDFLAGS} make -j ${XBPS_MAKEJOBS} -C src/zxcvbn-c dictgen
|
CXX=${CXX_host} CXXFLAGS="${XBPS_CXXFLAGS}" LDFLAGS="${XBPS_LDFLAGS}" \
|
||||||
|
make ${makejobs} -C src/zxcvbn-c dictgen
|
||||||
|
|
||||||
fi
|
fi
|
||||||
make -j ${XBPS_MAKEJOBS} -C src/zxcvbn-c
|
make ${makejobs} -C src/zxcvbn-c
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in New Issue