include_info: Support alternate GCC and Clang versions from MacPorts

This commit is contained in:
Andrew Rogers 2023-06-26 12:35:01 -05:00
commit 86502a872b

View file

@ -21,15 +21,19 @@ get-incl() {
case $(basename "$1") in
"cc") ;&
"*-gcc") ;&
"gcc*") ;&
"gcc") ;&
"clang") ;&
"clang*") ;&
"silly-cc")
xc='-xc'
;;
"cxx") ;&
"*-g++") ;&
"g++*") ;&
"g++") ;&
"clang++") ;&
"clang++*") ;&
"silly-cxx")
xc='-xc++'
;;