Skip to content
Snippets Groups Projects
Commit d2e87150 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

misc: fix build on fedora 39

Change-Id: I0b64db0a418e9992dcafa053c762e153a65515b8
parent ec60458d
No related branches found
No related tags found
No related merge requests found
daemon @ a7e2c494
Subproject commit 24f8c52acf3aece41d42b50f5ea4b34a96137273
Subproject commit a7e2c494d1d16bec68b7e098734884062a4b2505
......@@ -96,9 +96,8 @@ RUN dnf install -y \
clang \
cmake \
fmt-devel \
python3-html5lib \
cups-devel \
python-six
python3.10 \
cups-devel
ADD extras/packaging/gnu-linux/scripts/build-package-rpm.sh /opt/build-package-rpm.sh
......
......@@ -91,6 +91,15 @@ cat qtbase/src/corelib/global/qendian.h
sed -i 's,#include <string.h>,#include <string.h>\n#include <limits>,g' qtbase/src/corelib/global/qfloat16.h
sed -i 's,#include <QtCore/qbytearray.h>,#include <QtCore/qbytearray.h>\n#include <limits>,g' qtbase/src/corelib/text/qbytearraymatcher.h
cat qtwebengine/configure.cmake
#https://bugreports.qt.io/browse/QTBUG-117979
if test -f "/usr/bin/python3.10"; then
/usr/bin/python3.10 -m venv env
source env/bin/activate
python -m pip install html5lib
python -m pip install six
fi
# recent gcc version do not like lto from qt
CXXFLAGS="${CXXFLAGS} -fno-lto" CFLAGS="${CFLAGS} -fno-lto" LDFLAGS="$(CFLAGS) ${LDFLAGS}" ./configure \
-opensource \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment