Tis mimics the --enable-hardening and --disable-hardening from
autotools. The default is to enable hardening.
Depends on D2653
Differential D2674
[CMAKE] Add an option to enable/disable hardening Fabien on Mar 8 2019, 13:36. Authored by
Details
Tis mimics the --enable-hardening and --disable-hardening from Depends on D2653 mkdir buildcmake && cd buildcmake cmake -GNinja .. ninja -v Check the -fPIE flags is added on the compile lines. rm -rf * cmake -GNinja .. -DENABLE_HARDENING=ON ninja -v Check the -fPIE flags is added on the compile lines. rm -rf * cmake -GNinja .. -DENABLE_HARDENING=OFF ninja -v Check the -fPIE flags is no longer on the compile lines.
Diff Detail
Event Timeline |