extra/qt5: drop rpi crap for now

This commit is contained in:
Kevin Mihelich 2013-08-28 14:39:37 -06:00
parent 0ff89f023f
commit 5ee2070fbe

View file

@ -65,13 +65,13 @@ prepare() {
MAKEFLAGS="-j3"
# Raspberry Pi
if [ "$CARCH" == 'armv6h' ]; then
patch -p1 -i "${srcdir}"/deppath_gnu.patch
patch -p1 -i "${srcdir}"/rpi.patch
patch -p1 -i "${srcdir}"/undef_B0.patch
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
# patch -p1 -i "${srcdir}"/deppath_gnu.patch
# patch -p1 -i "${srcdir}"/rpi.patch
# patch -p1 -i "${srcdir}"/undef_B0.patch
# 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