Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1099 from EOSIO/qy-opt-v-epe385-1.8.x
Browse files Browse the repository at this point in the history
Fix the `-v` option of eosio-cpp and eosio-cc to use clang-9
  • Loading branch information
bogniq authored May 14, 2021
2 parents e869850 + a1836e2 commit 172b61e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/cc/eosio-cc.cpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ int main(int argc, const char **argv) {
// fix to show version info without having to have any other arguments
for (int i=0; i < argc; i++) {
if (argv[i] == std::string("-v")) {
eosio::cdt::environment::exec_subprogram("clang-7", {"-v"});
eosio::cdt::environment::exec_subprogram("clang-9", {"-v"});
return 0;
}
}
Expand Down
2 changes: 1 addition & 1 deletion tools/cc/eosio-cpp.cpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ int main(int argc, const char **argv) {
// fix to show version info without having to have any other arguments
for (int i=0; i < argc; i++) {
if (argv[i] == std::string("-v")) {
eosio::cdt::environment::exec_subprogram("clang-7", {"-v"});
eosio::cdt::environment::exec_subprogram("clang-9", {"-v"});
return 0;
}
}
Expand Down

0 comments on commit 172b61e

Please sign in to comment.