Skip to content

Commit de03082

Browse files
committed
s
1 parent a21478b commit de03082

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

selfcheck.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ if [ -z "$CXX" ]; then
1515
fi
1616

1717
cxx_type=$($CXX --version | head -1 | cut -d' ' -f1)
18+
$CXX --version
1819
echo cxx_type=$cxx_type
19-
if [ "$cxx_type" = "g++" ] || [ "$cxx_type" = "Ubuntu" ]; then # on ubuntu 22.04 there is an "Ubuntu" prefix
20+
if [ "$cxx_type" = "g++" ]; then
2021
gcc_ver=$($CXX -dumpversion)
2122
find /usr/include -name cctype
2223
./simplecpp simplecpp.cpp -e -f -std=gnu++11 -D__GNUC__ -D__STDC__ -D__STDC_HOSTED__ -D__CHAR_BIT__=8 -I"/usr/include" -I"/usr/include/linux" -I"/usr/include/c++/$gcc_ver" -I"/usr/include/c++/$gcc_ver/x86_64-pc-linux-gnu" -I"/usr/lib64/gcc/x86_64-pc-linux-gnu/$gcc_ver/include"

0 commit comments

Comments
 (0)