don't inject qtbase-build only flags into mkspec

This commit is contained in:
Rex Dieter 2016-03-19 08:32:34 -05:00
parent 679d20fecf
commit e376999beb

View File

@ -382,7 +382,8 @@ RPM macros for building Qt5 packages.
## adjust $RPM_OPT_FLAGS ## adjust $RPM_OPT_FLAGS
# remove -fexceptions # remove -fexceptions
RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'` RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'`
RPM_OPT_FLAGS="$RPM_OPT_FLAGS %{?qt5_deprecated_flag} %{?qt5_arm_flag}" # these flags are for qtbase build only, no need to propogate elsewhere
#RPM_OPT_FLAGS="$RPM_OPT_FLAGS %{?qt5_deprecated_flag} %{?qt5_arm_flag}"
%patch2 -p1 -b .multilib_optflags %patch2 -p1 -b .multilib_optflags
# drop backup file(s), else they get installed too, http://bugzilla.redhat.com/639463 # drop backup file(s), else they get installed too, http://bugzilla.redhat.com/639463