dtkcore: set nocross
[ci skip]
This commit is contained in:
parent
41d8a3c9b0
commit
d6d93bf018
1 changed files with 1 additions and 20 deletions
|
@ -18,26 +18,7 @@ if [ "$CROSS_BUILD" ];then
|
|||
hostmakedepends+=" qt5-devel gsettings-qt-devel"
|
||||
fi
|
||||
|
||||
pre_build() {
|
||||
# This is needed for musl, does somehow not get build there automatically
|
||||
make sub-tools-qmake_all
|
||||
make -C tools sub-deepin-os-release-all
|
||||
}
|
||||
|
||||
pre_install() {
|
||||
# Replace the host arch binary with target arch one
|
||||
cd tools/deepin-os-release
|
||||
rm *.o
|
||||
qmake ${configure_args} \
|
||||
PREFIX=/usr \
|
||||
LIB=/usr/lib \
|
||||
QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_LINK=$CXX QMAKE_LINK_C=$CC \
|
||||
QMAKE_CFLAGS="${CFLAGS}" \
|
||||
QMAKE_CXXFLAGS="${CXXFLAGS}" \
|
||||
QMAKE_LFLAGS="${LDFLAGS}"
|
||||
make CC="$CC" CXX="$CXX" LINK="$CXX"
|
||||
cd ${wrksrc}
|
||||
}
|
||||
nocross="Some QMake mess"
|
||||
|
||||
dtkcore-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in a new issue