Lines Matching defs:library
67 int library = 0;
85 /* Whether we need the thread library. */
88 /* By default, we throw on the math library if we have one. */
137 library = -1;
152 library = (library == 0) ? 1 : library;
161 if (library == 0 && strcmp (arg, "go") == 0)
162 library = 1;
169 if (library == 0)
170 library = 1;
181 library = -1;
186 library = -1;
202 library = library >= 0 ? 2 : library;
207 if (library == 0)
208 library = 1;
230 num_args = argc + need_math + shared_libgcc + (library > 0) * 5 + 10;
241 if (library >= 0)
254 /* Make sure -lgo is before the math library, since libgo itself
256 if (!saw_math && (args[i] & MATHLIB) && library > 0)
262 if (!saw_thread && (args[i] & THREADLIB) && library > 0)
268 if (!saw_libc && (args[i] & WITHLIBC) && library > 0)
318 if (library > 0)
326 if (library > 1 && !static_link)
340 if (library > 1 && !static_link)
349 pthread library. */
350 if (library > 1 || static_link)
356 else if (library > 0 && need_thread)
369 else if (library > 0 && need_math)