whrlpool/.libs/libcrypto_la-wp_block.o: In function `whirlpool_block':
/builddir/libressl-2.1.4/crypto/whrlpool/wp_block.c:634: undefined reference to `__stack_chk_fail_local'
Rather than setting them in the build profile, just set them in
etc/defaults.conf (overridable via etc/conf) to simplify the code.
- Also enable _FORTIFY_SOURCE=2 in CPPFLAGS.
- Also enable -z,relro in LDFLAGS.
As suggested by @chneukirchen.