diff options
author | obrien <obrien@FreeBSD.org> | 2000-11-25 01:25:35 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-11-25 01:25:35 +0000 |
commit | 15c928f7db5fa3f1b557bde0cbd264e4772a0ea7 (patch) | |
tree | e02738765ed40f808cf4408be959575728959f13 /gnu/lib | |
parent | 31f2e4e21b13a63391cbc5cc934b038d2921a052 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | gnu/lib/Makefile | 4 |
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 |