Rev 5123 | Rev 5132 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5123 | Rev 5131 | ||
---|---|---|---|
Line 14... | Line 14... | ||
14 | ) |
14 | ) |
15 | end |
15 | end |
Line 16... | Line 16... | ||
16 | 16 | ||
17 | function link_gcc(input, output) |
17 | function link_gcc(input, output) |
- | 18 | if not output then input,output = OBJS,input end |
|
- | 19 | if STARTUP then |
|
- | 20 | table.insert(LIBDEPS, STARTUP) |
|
- | 21 | LDFLAGS = LDFLAGS .. " " .. STARTUP |
|
18 | if not output then input,output = OBJS,input end |
22 | end |
19 | if tup.getconfig("HELPERDIR") == "" and #LIBDEPS then |
23 | if tup.getconfig("HELPERDIR") == "" and #LIBDEPS then |
20 | if type(input) == "string" then input = {input} end |
24 | if type(input) == "string" then input = {input} end |
21 | if not input.extra_inputs then input.extra_inputs = {} end |
25 | if not input.extra_inputs then input.extra_inputs = {} end |
22 | tup.append_table(input.extra_inputs, LIBDEPS) |
26 | tup.append_table(input.extra_inputs, LIBDEPS) |