gcc fixes
print core dumps on application crashes
show that the program crashed
show more debug information
fix typo
disable the thread sanitizer on clang/Debug for now since this prevents core dumps from being generated on segfaults
Merge branch 'headless-display' into mesa

Conflicts:
	scripts/flags.sh