blob: 507b3ec66db1f2e0c1026623a29a19d25381b520 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# XXX workaround for linking issue with GCC 11
case "$HOST" in
(*-musl)
CXXFLAGS+=' -static-libstdc++'
;;
esac &&
# Add the path to qmake here instead of DEPENDS.
# This depends on our installation, not user choice.
if echo "$OPTS" | grep -q -- -qt-gui; then
OPTS="$OPTS --qt-qmake=$INSTALL_ROOT/opt/qt4/bin/qmake"
fi &&
./configure --prefix=${INSTALL_ROOT}/usr \
--datadir=/share/${SPELL} \
--docdir=/share/doc/${SPELL} \
--mandir=/share/man \
--parallel=${MAKE_NJOBS} \
$OPTS &&
make
|