mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 14:58:50 +00:00
Added -ld_classic flag for clang 15+
This commit is contained in:
parent
670bb2d242
commit
2f732ef0ce
1 changed files with 1 additions and 1 deletions
|
|
@ -1306,7 +1306,7 @@ let build cmd prog =
|
||||||
cmd#dump_file "i" (Interface.gen prog);
|
cmd#dump_file "i" (Interface.gen prog);
|
||||||
let inc = get_std_path () in
|
let inc = get_std_path () in
|
||||||
let compiler = "clang" in
|
let compiler = "clang" in
|
||||||
let flags = "-arch x86_64" in
|
let flags = "-arch x86_64 -ld_classic" in
|
||||||
match cmd#get_mode with
|
match cmd#get_mode with
|
||||||
| `Default ->
|
| `Default ->
|
||||||
let objs = find_objects (fst @@ fst prog) cmd#get_include_paths in
|
let objs = find_objects (fst @@ fst prog) cmd#get_include_paths in
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue