Hello community,
here is the log from the commit of package include-what-you-use for
openSUSE:Factory checked in at 2019-11-25 00:08:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/include-what-you-use (Old)
and /work/SRC/openSUSE:Factory/.include-what-you-use.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "include-what-you-use"
Mon Nov 25 00:08:28 2019 rev:8 rq:750467 version:0.13
Changes:
--------
---
/work/SRC/openSUSE:Factory/include-what-you-use/include-what-you-use.changes
2019-11-03 12:27:30.337759857 +0100
+++
/work/SRC/openSUSE:Factory/.include-what-you-use.new.26869/include-what-you-use.changes
2019-11-25 00:08:33.695930164 +0100
@@ -1,0 +2,5 @@
+Sat Nov 16 20:32:01 UTC 2019 - Aaron Puchert <[email protected]>
+
+- Deactivate ThinLTO on ARM: there are internal linker errors.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ include-what-you-use.spec ++++++
--- /var/tmp/diff_new_pack.bm9bJX/_old 2019-11-25 00:08:35.471929922 +0100
+++ /var/tmp/diff_new_pack.bm9bJX/_new 2019-11-25 00:08:35.471929922 +0100
@@ -1,7 +1,7 @@
#
# spec file for package include-what-you-use
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC.
# Copyright (c) 2019 Aaron Puchert.
#
# All modifications and additions to the file contributed by third parties
@@ -23,7 +23,7 @@
Summary: A tool to analyze #includes in C and C++ source files
License: NCSA
Group: Development/Languages/C and C++
-Url: https://include-what-you-use.org/
+URL: https://include-what-you-use.org/
Source0:
https://include-what-you-use.org/downloads/%{name}-%{version}.src.tar.gz
Source1: %{name}.1
Patch1: fix-shebang.patch
@@ -69,8 +69,12 @@
%patch4 -p1
%build
-# Make _lto_cflags compatible with Clang.
+# Make _lto_cflags compatible with Clang, deactivate LTO where it doesn't work.
+%ifnarch %{arm}
%define _lto_cflags "-flto=thin"
+%else
+%define _lto_cflags %{nil}
+%endif
# Remove obsolete files - this is now hardcoded into iwyu_include_picker.cc.
rm gcc.libc.imp gcc.symbols.imp gcc.stl.headers.imp stl.c.headers.imp