qt5: no float-abi dances for aarch64.

This commit is contained in:
Christian Neukirchen 2016-09-20 18:24:13 +02:00
parent 57d9556e4b
commit c6c0dd0675

View file

@ -101,9 +101,9 @@ _create_config() {
echo >> ${specs}/${device}/qmake.conf
# Fake distro name to tell we want control
echo "DISTRO = arch" >> ${specs}/${device}/qmake.conf
# Hard float on armv6, armv7 and aarch64, not on armv5tel
# Hard float on armv6, armv7, not on armv5tel
case "$XBPS_TARGET_MACHINE" in
armv6*|armv7*|aarch64)
armv6*|armv7*)
echo "DISTRO_OPTS += hard-float" >> ${specs}/${device}/qmake.conf
;;
esac
@ -117,7 +117,12 @@ _create_config() {
# FIXME: is this required?
echo "QMAKE_LIBS_OPENGL_ES2 = -lEGL -lGLESv2" >> ${specs}/${device}/qmake.conf
echo >> ${specs}/${device}/qmake.conf
echo "include(../common/linux_arm_device_post.conf)" >> ${specs}/${device}/qmake.conf
case "$XBPS_TARGET_MACHINE" in
arm*)
echo "include(../common/linux_arm_device_post.conf)" >> ${specs}/${device}/qmake.conf ;;
*)
echo "include(../common/linux_device_post.conf)" >> ${specs}/${device}/qmake.conf ;;
esac
echo "load(qt_config)" >> ${specs}/${device}/qmake.conf
echo '#include "../../linux-g++/qplatformdefs.h"' > ${specs}/${device}/qplatformdefs.h