Golang uses gcc to compile binaries but doesn't inherit CFLAGS.
The CGO_CFLAGS variable needs to be used in order to do so. Not
specifying CGO_CFLAGS would lead to not using %optflags and hence
in unoptimized/unhardened code.
Signed-off-by: Jindrich Novy <jnovy@redhat.com>