https://bugzilla.redhat.com/show_bug.cgi?id=1278676
--- Comment #4 from fujiwara tfujiwar@redhat.com --- (In reply to Ľuboš Kardoš from comment #3)
You can do this with '--define "optflags `rpm -E %{optflags}` -g"'. If
The suggestion does not help my case since the default optflags includes "-O2".
Why rpmbuild runs LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' forcibly?
Hardening all fedora packages [1] is a change which was announced, discussed and approved. Rpm team doesn't initiated nor performed this change. I am not entitled to revert this change. You can discuss your problem with owner of this change [1].
OK, thanks.
Because this is not a bug in rpm. I am closing this as not a bug.
[1] https://fedoraproject.org//wiki/Changes/Harden_All_Packages
i18n-bugs@lists.fedoraproject.org