Check for compiler flags with -Werror

For example for -fstack-protector, it is accepted by gcc for
all targets, however those targets where it is actually not
supported, it will print a warning like

"-fstack-protector is not supported for this platform"

which raises an error when using -Werror later. So better
not add -fstack-protector then to the CC_EXTRA_FLAGS
Merge pull request #374 from dirkmueller/aarch64

Check for compiler flags with -Werror
On systems without tm_gmtoff use timezone considering that it returns the gmt offset negated and without DST adjustment.
Merge pull request #382 from SynetoNet/master

On systems without tm_gmtoff use timezone considering that it returns th...