lib/pkgforge/components/cflags.rb in pkgforge-0.10.0 vs lib/pkgforge/components/cflags.rb in pkgforge-0.11.0

- old
+ new

@@ -37,10 +37,10 @@ # Shamelessly sourced from: # https://blog.mayflower.de/5800-Hardening-Compiler-Flags-for-NixOS.html ALL_HARDEN_OPTS = { format: %w(-Wformat -Wformat-security -Werror=format-security), - stackprotector: %w(-fstack-protector-strong --param=ssp-buffer-size=4), + stackprotector: %w(-fstack-protector-strong), fortify: %w(-O2 -D_FORTIFY_SOURCE=2), pic: '-fPIC', strictoverflow: '-fno-strict-overflow', relro: '-zrelro', bindnow: '-zbindnow'