mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-16 19:58:46 +00:00
Changed cross-compilation flag for x86-64 macOS compilation
This commit is contained in:
parent
10dc4d6a02
commit
e74e08fa4f
2 changed files with 2 additions and 2 deletions
|
|
@ -1350,7 +1350,7 @@ let build cmd prog =
|
|||
cmd#dump_file "i" (Interface.gen prog);
|
||||
let inc = get_std_path () in
|
||||
let compiler = "clang" in
|
||||
let flags = "-pie -target X86_64-apple-macho" in
|
||||
let flags = "-pie -arch X86_64" in
|
||||
match cmd#get_mode with
|
||||
| `Default ->
|
||||
let objs = find_objects (fst @@ fst prog) cmd#get_include_paths in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue