summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-04-13 14:12:34 +0000
committerpeter <peter@FreeBSD.org>1998-04-13 14:12:34 +0000
commit9527a97222b964e60383fbcc2b361637d17238d6 (patch)
treecace7ca96cca9e7d8604a13fb8975ebea018d7f9 /contrib
parent72618c7990b921fdec9b65204302a5e9346e62ac (diff)
downloadFreeBSD-src-9527a97222b964e60383fbcc2b361637d17238d6.zip
FreeBSD-src-9527a97222b964e60383fbcc2b361637d17238d6.tar.gz
-pg was causing a link with -lc_r... :-]
Submitted by: Dmitry Khrustalev <dima@xyzzy.machaon.ru> PR: 6287
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gcc/config/i386/freebsd.h2
-rw-r--r--contrib/gcc/config/i386/freebsd.h.fixed2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc/config/i386/freebsd.h b/contrib/gcc/config/i386/freebsd.h
index 1caaeac..7563948 100644
--- a/contrib/gcc/config/i386/freebsd.h
+++ b/contrib/gcc/config/i386/freebsd.h
@@ -501,7 +501,7 @@ do { \
/* 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_r}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}"
+#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}}}"
/* Let gcc locate this for us according to the -m rules */
#undef LIBGCC_SPEC
diff --git a/contrib/gcc/config/i386/freebsd.h.fixed b/contrib/gcc/config/i386/freebsd.h.fixed
index 1caaeac..7563948 100644
--- a/contrib/gcc/config/i386/freebsd.h.fixed
+++ b/contrib/gcc/config/i386/freebsd.h.fixed
@@ -501,7 +501,7 @@ do { \
/* 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_r}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}"
+#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}}}"
/* Let gcc locate this for us according to the -m rules */
#undef LIBGCC_SPEC
OpenPOWER on IntegriCloud