Skip to content

Commit

Permalink
JITImpl/GCC/GCCJIT.cpp: add -Wno-unused-label
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed May 8, 2024
1 parent da33af2 commit d3ddd11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JITImpl/GCC/GCCJIT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ void *GCCJIT::translate(std::string code, std::set<std::string> headerpaths, std
std::stringstream ss;
ss << "gcc -c -std=c99 -fPIC -march=native -mtune=native -pipe ";
if (debug)
ss << "-g -O0 -Wall ";
ss << "-g -O0 -Wall -Wno-unused-label ";
else
ss << "-Ofast ";
for (std::set<std::string>::const_iterator iter = headerpaths.begin(); iter != headerpaths.end(); iter++)
Expand Down

0 comments on commit d3ddd11

Please sign in to comment.