Improve gcc configuration
authorAdeel <adeelbm@outlook.com>
Thu, 7 Mar 2019 22:23:55 +0000 (14:23 -0800)
committerAdeel <adeelbm@outlook.com>
Thu, 7 Mar 2019 23:51:24 +0000 (15:51 -0800)
commit308d88387d80f731073aff996d6080c84171d3b0
treebd52dabb7b24fef995a283f4e4bd861b7aebd5ee
parentc25e06910696d6999a62f23c264bcff3b407293f
Improve gcc configuration
* Use `find_path` instead of `check_include_files` for lttng.
* `locate_gcc_exec gcc` to `locate_gcc_exec link` for `gcc_link`
* Remove unused `DCMAKE_OBJCOPY`
* Fix all warnings in gen-buildsys-gcc.sh reported by shellchecker.

Commit migrated from https://github.com/dotnet/coreclr/commit/c6abb4361b008e03fab815e99e337bc1b5b57df2
src/coreclr/src/pal/src/configure.cmake
src/coreclr/src/pal/tools/gen-buildsys-gcc.sh