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

packaging: fix packaging on ubuntu 21

debhelper on ubuntu 21 is bugguy and introduced LTO bugs
Some similar issues:
https://bugreports.qt.io/browse/QTBUG-98805
https://www.mail-archive.com/lfs-support@lists.linuxfromscratch.org/msg06950.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200#c46
https://github.com/rhboot/efivar/issues/156
Disabling lto flags for daemon fix this issue.

Change-Id: I7c666c9e3d33f659c781a4bf68debf367a451a88
parent 6ece4a1a
Branches
No related tags found
No related merge requests found
......@@ -47,6 +47,8 @@ export PATH := $(QT_JAMI_PREFIX)/bin:${PATH}
export LD_LIBRARY_PATH := $(QT_JAMI_PREFIX)/lib:${LD_LIBRARY_PATH}
export PKG_CONFIG_PATH := $(QT_JAMI_PREFIX)/lib/pkgconfig:${PKG_CONFIG_PATH}
export CMAKE_PREFIX_PATH := $(QT_JAMI_PREFIX)/lib/cmake:${CMAKE_PREFIX_PATH}
export CFLAGS := $(CFLAGS) -fno-lto
export CXXFLAGS := $(CXXFLAGS) -fno-lto
# Installation directories.
OCI_INSTALL_DIR = $(CURDIR)/debian/$(JAMI_ALL_IN_ONE_PKG_NAME)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment