Add initial support for iOS targets (#2237)
* Add iOS C int sizes... try to hack in iOS DebugInfo * Get rid of ios link check for now * Remove macos linkversion check
This commit is contained in:
committed by
Andrew Kelley
parent
b59c65e986
commit
27cd830ec8
10
src/link.cpp
10
src/link.cpp
@@ -1562,16 +1562,6 @@ static void construct_linker_job_macho(LinkJob *lj) {
|
||||
lj->args.append("dynamic_lookup");
|
||||
}
|
||||
|
||||
if (platform.kind == MacOS) {
|
||||
if (darwin_version_lt(&platform, 10, 5)) {
|
||||
lj->args.append("-lgcc_s.10.4");
|
||||
} else if (darwin_version_lt(&platform, 10, 6)) {
|
||||
lj->args.append("-lgcc_s.10.5");
|
||||
}
|
||||
} else {
|
||||
zig_panic("TODO");
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < g->darwin_frameworks.length; i += 1) {
|
||||
lj->args.append("-framework");
|
||||
lj->args.append(buf_ptr(g->darwin_frameworks.at(i)));
|
||||
|
||||
Reference in New Issue
Block a user