include_info: Support alternate GCC and Clang versions from MacPorts
This commit is contained in:
parent
f110aba78a
commit
86502a872b
1 changed files with 4 additions and 0 deletions
|
|
@ -21,15 +21,19 @@ get-incl() {
|
||||||
case $(basename "$1") in
|
case $(basename "$1") in
|
||||||
"cc") ;&
|
"cc") ;&
|
||||||
"*-gcc") ;&
|
"*-gcc") ;&
|
||||||
|
"gcc*") ;&
|
||||||
"gcc") ;&
|
"gcc") ;&
|
||||||
"clang") ;&
|
"clang") ;&
|
||||||
|
"clang*") ;&
|
||||||
"silly-cc")
|
"silly-cc")
|
||||||
xc='-xc'
|
xc='-xc'
|
||||||
;;
|
;;
|
||||||
"cxx") ;&
|
"cxx") ;&
|
||||||
"*-g++") ;&
|
"*-g++") ;&
|
||||||
|
"g++*") ;&
|
||||||
"g++") ;&
|
"g++") ;&
|
||||||
"clang++") ;&
|
"clang++") ;&
|
||||||
|
"clang++*") ;&
|
||||||
"silly-cxx")
|
"silly-cxx")
|
||||||
xc='-xc++'
|
xc='-xc++'
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue