Skip to content

Commit

Permalink
Merge pull request #25 from programming-in-th/fix/c
Browse files Browse the repository at this point in the history
fix: c compile command
  • Loading branch information
MasterIceZ authored Feb 4, 2024
2 parents 68f78da + 6b3b865 commit b0c17a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/scripts/compile_scripts/c
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ for i in range(2, len(sys.argv)):

output_path = os.path.join(base_dir, "bin")
cmd = [
"/usr/bin/gcc", "--std=c11", "-O2", "-lm", "-static", "-DEVAL",
*compile_files, "-o", output_path
"/usr/bin/gcc", "--std=c11", "-O2", "-static", "-DEVAL",
*compile_files, "-lm", "-o", output_path
]

capture = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
Expand Down

0 comments on commit b0c17a0

Please sign in to comment.