Commit 0ea7f70744e5f18cb58b0d1f52251949757469e0

fanquake 2020-06-26T14:33:43

build: use feature detection when adding compile flags Rather than trying to detect (potentially very old) GCC versions, just test whether the flag works with the compiler, and add it to CLFAGS if so. -Werror is used to convert unknown flag warnings into errors, and prevent their addition to CLFAGS.