Skip to content

Commit 90a700a

Browse files
author
yiguo
committed
replace clang with gcc
1 parent efccaa9 commit 90a700a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build/app/linux.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ def build_linux(self):
3131
create_dir_if_not_exists(output_dir)
3232
output_file = os.path.join(output_dir, self.lib_file)
3333
run_env = os.environ.copy()
34-
run_env["CC"] = "clang"
35-
run_env["CXX"] = "clang++"
34+
run_env["CC"] = "gcc"
35+
run_env["CXX"] = "g++"
3636
run_env["CGO_ENABLED"] = "1"
3737

3838
cmd = [

build/app/windows.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ def build_windows(self):
2828
create_dir_if_not_exists(output_dir)
2929
output_file = os.path.join(output_dir, self.lib_file)
3030
run_env = os.environ.copy()
31-
run_env["CC"] = "clang.exe"
32-
run_env["CXX"] = "clang++.exe"
31+
run_env["CC"] = "gcc.exe"
32+
run_env["CXX"] = "g++.exe"
3333
run_env["CGO_ENABLED"] = "1"
3434

3535
cmd = [

0 commit comments

Comments
 (0)