mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
Merge branch 'master' of github.com:archlinuxarm/PKGBUILDs
This commit is contained in:
commit
bbb769245a
1 changed files with 7 additions and 7 deletions
|
@ -65,13 +65,13 @@ prepare() {
|
||||||
MAKEFLAGS="-j3"
|
MAKEFLAGS="-j3"
|
||||||
|
|
||||||
# Raspberry Pi
|
# Raspberry Pi
|
||||||
if [ "$CARCH" == 'armv6h' ]; then
|
# if [ "$CARCH" == 'armv6h' ]; then
|
||||||
patch -p1 -i "${srcdir}"/deppath_gnu.patch
|
# patch -p1 -i "${srcdir}"/deppath_gnu.patch
|
||||||
patch -p1 -i "${srcdir}"/rpi.patch
|
# patch -p1 -i "${srcdir}"/rpi.patch
|
||||||
patch -p1 -i "${srcdir}"/undef_B0.patch
|
# patch -p1 -i "${srcdir}"/undef_B0.patch
|
||||||
rbp_config="-device linux-rasp-pi-g++ -eglfs"
|
# 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"
|
# export CXXFLAGS=${CXXFLAGS}" -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
sed -i "s|-O2|${CXXFLAGS}|" qtbase/mkspecs/common/{g++,gcc}-base.conf
|
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
|
sed -i "/^QMAKE_LFLAGS_RPATH/s| -Wl,-rpath,||g" qtbase/mkspecs/common/gcc-base-unix.conf
|
||||||
|
|
Loading…
Reference in a new issue