From ba935f3272691a296f28649cd8f87ac16161aebe Mon Sep 17 00:00:00 2001 From: jb Date: Mon, 8 Jun 1998 10:58:36 +0000 Subject: Add LIB_SPEC (same as on i386) so that gcc knows about libc_r. --- contrib/gcc/config/alpha/freebsd.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'contrib') diff --git a/contrib/gcc/config/alpha/freebsd.h b/contrib/gcc/config/alpha/freebsd.h index 732255d..30d365f 100644 --- a/contrib/gcc/config/alpha/freebsd.h +++ b/contrib/gcc/config/alpha/freebsd.h @@ -68,6 +68,10 @@ #undef ASM_FINAL_SPEC +/* Like the default, except no -lg, and no -p. */ +#undef LIB_SPEC +#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:%{!kthread:-lc}%{kthread:-lpthread -lc}}%{pthread:-lc_r}}%{pg:%{!pthread:%{!kthread:-lc_p}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}" + /* Output assembler code to FILE to increment profiler label # LABELNO for profiling a function entry. Under FreeBSD/Alpha, the assembler does nothing special with -pg. */ -- cgit v1.1