Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qt6-macros for openSUSE:Factory 
checked in at 2022-02-07 23:38:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qt6-macros (Old)
 and      /work/SRC/openSUSE:Factory/.qt6-macros.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qt6-macros"

Mon Feb  7 23:38:25 2022 rev:5 rq:952239 version:20220207

Changes:
--------
--- /work/SRC/openSUSE:Factory/qt6-macros/qt6-macros.changes    2021-10-04 
18:41:06.642169192 +0200
+++ /work/SRC/openSUSE:Factory/.qt6-macros.new.1898/qt6-macros.changes  
2022-02-07 23:40:00.193659151 +0100
@@ -1,0 +2,6 @@
+Mon Feb  7 13:47:05 UTC 2022 - Christophe Giboudeaux <[email protected]>
+
+- Ensure PIE flags are passed to the linker on Leap to work around
+  an issue caused by GCC packaging (boo#1195628)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ qt6-macros.spec ++++++
--- /var/tmp/diff_new_pack.h7ZkYp/_old  2022-02-07 23:40:00.601656359 +0100
+++ /var/tmp/diff_new_pack.h7ZkYp/_new  2022-02-07 23:40:00.605656332 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           qt6-macros
-Version:        20210610
+Version:        20220207
 Release:        0
 Summary:        RPM macros for Qt6 packages
 License:        MIT

++++++ macros.qt6 ++++++
--- /var/tmp/diff_new_pack.h7ZkYp/_old  2022-02-07 23:40:00.653656003 +0100
+++ /var/tmp/diff_new_pack.h7ZkYp/_new  2022-02-07 23:40:00.653656003 +0100
@@ -174,6 +174,11 @@
 %qt6_use_make %global __qt6_build_tool %__make
 
 #--------------------------------------------------------------
+# NOTE:
+# Due to how gcc-pie is packaged, the PIE flags are only
+# recognized by the default compiler (boo#1195628)
+# We can't rely on the check_pie_supported() function. That's
+# why CMAKE_CXX_LINK_PIE_SUPPORTED is enabled
 %cmake_qt6 \
   cmake -DCMAKE_BUILD_TYPE:STRING=%{__qt6_build_type} \\\
         -DCMAKE_INSTALL_PREFIX:STRING=%{_qt6_prefix} \\\
@@ -187,6 +192,7 @@
 %if 0%{?suse_version} == 1500 \
         -DCMAKE_C_COMPILER:STRING=gcc-10 \\\
         -DCMAKE_CXX_COMPILER:STRING=g++-10 \\\
+        -DCMAKE_CXX_LINK_PIE_SUPPORTED:BOOL=ON \\\
 %endif \
         -DQT_DISABLE_RPATH:BOOL=ON \\\
         -DCMAKE_C_FLAGS:STRING="%{optflags}" \\\

Reply via email to