From 86502a872bfa8fd5677b5c185bf95b9fa7182388 Mon Sep 17 00:00:00 2001 From: Andrew Rogers Date: Mon, 26 Jun 2023 12:35:01 -0500 Subject: [PATCH] include_info: Support alternate GCC and Clang versions from MacPorts --- scripts/include_info | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/include_info b/scripts/include_info index 7854c43..2de0f98 100755 --- a/scripts/include_info +++ b/scripts/include_info @@ -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++' ;;