diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index b8128be..38f4cca 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -6,7 +6,7 @@ Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config -Version: 54 +Version: 55 Release: 1%{?dist} # No version specified. License: GPL+ @@ -140,6 +140,9 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov %{_rpmconfigdir}/macros.d/macros.kmp %changelog +* Tue Nov 08 2016 Michal Toman - 55-1 +- Add default compiler flags for various MIPS architectures (#1366735) + * Tue Nov 08 2016 Panu Matilainen - 54-1 - -pie is incompatible with static linkage (#1343892, #1287743) diff --git a/rpmrc b/rpmrc index b95233c..df43964 100644 --- a/rpmrc +++ b/rpmrc @@ -41,8 +41,14 @@ optflags: hppa1.1 %{__global_cflags} -mpa-risc-1-0 optflags: hppa1.2 %{__global_cflags} -mpa-risc-1-0 optflags: hppa2.0 %{__global_cflags} -mpa-risc-1-0 -optflags: mips %{__global_cflags} -optflags: mipsel %{__global_cflags} +optflags: mips %{__global_cflags} -march=mips32r2 -mfpxx +optflags: mipsel %{__global_cflags} -march=mips32r2 -mfpxx +optflags: mips64 %{__global_cflags} -march=mips64r2 -mabi=64 +optflags: mips64el %{__global_cflags} -march=mips64r2 -mabi=64 +optflags: mipsr6 %{__global_cflags} -march=mips32r6 +optflags: mipsr6el %{__global_cflags} -march=mips32r6 +optflags: mips64r6 %{__global_cflags} -march=mips64r6 +optflags: mips64r6el %{__global_cflags} -march=mips64r6 optflags: armv3l %{__global_cflags} -fsigned-char -march=armv3 optflags: armv4b %{__global_cflags} -fsigned-char -march=armv4