extra/qt5: disable rpi extras

This commit is contained in:
Kevin Mihelich 2014-02-06 13:18:22 +00:00
parent 1d7a129a56
commit a36666731c

View file

@ -67,13 +67,13 @@ prepare() {
cd ..
# Raspberry Pi
if [ "$CARCH" == 'armv6h' ]; then
cd qtbase
patch -p1 -i "${srcdir}"/rpi.patch
cd ..
rbp_config="-device linux-rasp-pi-g++ -eglfs"
export CXXFLAGS=${CXXFLAGS}" -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
fi
# if [ "$CARCH" == 'armv6h' ]; then
# cd qtbase
# patch -p1 -i "${srcdir}"/rpi.patch
# cd ..
# rbp_config="-device linux-rasp-pi-g++ -eglfs"
# export CXXFLAGS=${CXXFLAGS}" -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
# fi
sed -i "s|-O2|${CXXFLAGS}|" qtbase/mkspecs/common/{g++,gcc}-base.conf
sed -i "/^QMAKE_LFLAGS_RPATH/s| -Wl,-rpath,||g" qtbase/mkspecs/common/gcc-base-unix.conf