Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: Add -pie to CMAKE_EXE_LINKER_FLAGS
Without this, rpmlint (on openSUSE Tumbleweed) fails with: ceph-radosgw.x86_64: E: non-position-independent-executable (Badness: 10000) /usr/bin/radosgw This executable must be position independent. Check that it is built with -fPIE/-fpie in compiler flags and -pie in linker flags. Signed-off-by: Tim Serong <[email protected]>
- Loading branch information