Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently, we do pass the hardened CFLAGS and CPPFLAGS when building the code. However, we do not pass the hardened flags to the linker. This means that the binaries are linked without the options like -Wl,-z,now. As a result, we do not fully harden the binaries that we build. This commit fixes this by passing the RPM_LD_FLAGS to the linker so the builds are linked with the properly hardened flags. Fixes: http://tracker.ceph.com/issues/36316 Signed-off-by: Boris Ranto <[email protected]>
- Loading branch information