Created attachment 879173 [details] qt arch define for ppc64le For the latest rawhide qt to build for ppc64le, we need a trivial patch and trivial spec changes implemented. The spec changes are as follows: [baude@ppc64le qt]$ git diff diff --git a/qt.spec b/qt.spec index 3041aad..1cdc439 100644 --- a/qt.spec +++ b/qt.spec @@ -5,8 +5,8 @@ %define no_pch -no-pch # See http://bugzilla.redhat.com/223663 -%define multilib_archs x86_64 %{ix86} ppc64 ppc s390x s390 sparc64 sparcv9 -%define multilib_basearchs x86_64 ppc64 s390x sparc64 +%define multilib_archs x86_64 %{ix86} ppc64 ppc s390x s390 sparc64 sparcv9 ppc64le +%define multilib_basearchs x86_64 ppc64 s390x sparc64 ppc64le %if 0%{?fedora} > 16 || 0%{?rhel} > 6 # use external qt_settings pkg @@ -174,6 +174,9 @@ Patch1147: 0147-Disallow-deep-or-widely-nested-entity-references.patch # https://codereview.qt-project.org/#change,71010 Patch1162: 0162-Fully-expand-entities-to-ensure-deep-or-widely-neste.patch +# ppc64le support +Patch999: qt-everywhere-opensource-src-4.8-ppc64le_support.patch + ## security patches # desktop files @@ -550,6 +553,8 @@ rm -fv mkspecs/linux-g++*/qmake.conf.multilib-optflags %patch85 -p1 -b .QTBUG-35460 %patch86 -p1 -b .systemtrayicon +%patch999 -p1 + # drop -fexceptions from $RPM_OPT_FLAGS RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'`
Thanks. %changelog * Wed Mar 26 2014 Rex Dieter <rdieter> 4.8.5-24 - support ppc64le arch (#1081216)