Diff for /wikisrc/pkgsrc/hardening.mdwn between versions 1.27 and 1.28

version 1.27, 2017/11/07 01:52:37 version 1.28, 2017/11/07 02:00:44
Line 136  Just like with `PKGSRC_MKPIE` above, thi Line 136  Just like with `PKGSRC_MKPIE` above, thi
 crash, usually indicating an actual bug in the program. The fix will typically  crash, usually indicating an actual bug in the program. The fix will typically
 involve patching the original program.  involve patching the original program.
   
   ### Optimization is required
   
   At least in the case of GCC, FORTIFY will only be applied if optimization is
   applied while compiling. This means that the CFLAGS should also contain -O, -O2
   or another optimization level. This cannot easily be applied globally, as some
   packages may require specific optimization levels.
   
 ## Problems with `PKGSRC_USE_RELRO`  ## Problems with `PKGSRC_USE_RELRO`
   
 ### Performance impact  ### Performance impact

Removed from v.1.27  
changed lines
  Added in v.1.28


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb