Closed onabiull closed 3 years ago
RELRO options should appear in linker flags. Preferably in form:
target_link_options(VPL PRIVATE LINKER:--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libVPL.map LINKER:--no-undefined,-z,relro,-z,now,-z,noexecstack -fstack-protector )
Hi. These flags are being applied via cmake/CompileOptions.cmake You can verify that they are applied to the binaries by running hardening-check against the so
RELRO options should appear in linker flags. Preferably in form: