mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/qt5: disable rpi extras
This commit is contained in:
parent
1d7a129a56
commit
a36666731c
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue