summaryrefslogtreecommitdiffstats
path: root/gnu/lib/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-11-25 01:25:35 +0000
committerobrien <obrien@FreeBSD.org>2000-11-25 01:25:35 +0000
commit15c928f7db5fa3f1b557bde0cbd264e4772a0ea7 (patch)
treee02738765ed40f808cf4408be959575728959f13 /gnu/lib/Makefile
parent31f2e4e21b13a63391cbc5cc934b038d2921a052 (diff)
downloadFreeBSD-src-15c928f7db5fa3f1b557bde0cbd264e4772a0ea7.zip
FreeBSD-src-15c928f7db5fa3f1b557bde0cbd264e4772a0ea7.tar.gz
Don't build libgcc_r if "NOLIBC_R" defined. If you don't have a threads
safe libc, having a threads safe libgcc isn't of much use.
Diffstat (limited to 'gnu/lib/Makefile')
-rw-r--r--gnu/lib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile
index e2accac..006a484 100644
--- a/gnu/lib/Makefile
+++ b/gnu/lib/Makefile
@@ -2,6 +2,10 @@
SUBDIR= csu libdialog libgcc libgcc_r libgmp libmp libregex libreadline
+.if !defined(NOLIBC_R)
+SUBDIR+= libgcc_r
+.endif
+
.if !defined(NO_CXX)
SUBDIR+= libstdc++
.endif
OpenPOWER on IntegriCloud