Add default compiler flags for various MIPS architectures (#1366735)

This commit is contained in:
Panu Matilainen 2016-11-08 16:42:14 +02:00
parent b1a45b244e
commit cf7406787b
2 changed files with 12 additions and 3 deletions

View File

@ -6,7 +6,7 @@
Summary: Red Hat specific rpm configuration files Summary: Red Hat specific rpm configuration files
Name: redhat-rpm-config Name: redhat-rpm-config
Version: 54 Version: 55
Release: 1%{?dist} Release: 1%{?dist}
# No version specified. # No version specified.
License: GPL+ License: GPL+
@ -140,6 +140,9 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov
%{_rpmconfigdir}/macros.d/macros.kmp %{_rpmconfigdir}/macros.d/macros.kmp
%changelog %changelog
* Tue Nov 08 2016 Michal Toman <mtoman@fedoraproject.org> - 55-1
- Add default compiler flags for various MIPS architectures (#1366735)
* Tue Nov 08 2016 Panu Matilainen <pmatilai@redhat.com> - 54-1 * Tue Nov 08 2016 Panu Matilainen <pmatilai@redhat.com> - 54-1
- -pie is incompatible with static linkage (#1343892, #1287743) - -pie is incompatible with static linkage (#1343892, #1287743)

10
rpmrc
View File

@ -41,8 +41,14 @@ optflags: hppa1.1 %{__global_cflags} -mpa-risc-1-0
optflags: hppa1.2 %{__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: hppa2.0 %{__global_cflags} -mpa-risc-1-0
optflags: mips %{__global_cflags} optflags: mips %{__global_cflags} -march=mips32r2 -mfpxx
optflags: mipsel %{__global_cflags} 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: armv3l %{__global_cflags} -fsigned-char -march=armv3
optflags: armv4b %{__global_cflags} -fsigned-char -march=armv4 optflags: armv4b %{__global_cflags} -fsigned-char -march=armv4