mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
Raspberry Pi includes moved from rpi.patch to CXXFLAGS for armv6h
This commit is contained in:
parent
9d8a183b38
commit
5fb3f9f3db
1 changed files with 3 additions and 1 deletions
|
@ -60,7 +60,9 @@ build() {
|
|||
|
||||
export QTDIR="${srcdir}"/${_pkgfqn}
|
||||
export LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH}
|
||||
export CXXFLAGS=${CXXFLAGS}" -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
|
||||
if [ "$CARCH" == 'armv6h' ]; then
|
||||
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