-export CFLAGS="-fPIE -Wl,-z,relro,-z,now"
+export CFLAGS="$RPM_OPT_FLAGS -fPIE -Wl,-z,relro,-z,now"
+export LDFLAGS="$RPM_LD_FLAGS -pie"
Also, is there a reason why the hardening flags are added manually like this instead of using the standard "%global _hardened_build 1" way? If there is, I suggest documenting it in the specfile. See http://fedoraproject.org/wiki/Packaging:Guidelines#PIE for more info
cgdcbxd-1.0.2-1.fc21 has been submitted as an update for Fedora 21.
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cgdcbxd-1.0.2-1.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
cgdcbxd-1.0.2-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.