summaryrefslogtreecommitdiffstats
path: root/lib/libthr/Makefile
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2009-03-09 02:34:02 +0000
committerdavidxu <davidxu@FreeBSD.org>2009-03-09 02:34:02 +0000
commit2adf4999ea9b13a2eb8ace79f6e205664aa62625 (patch)
tree074bdd3c5e68d9b14097468c5426d59642acab9b /lib/libthr/Makefile
parent094f090e7f647daca1ff4c522899def7eae6c6b3 (diff)
downloadFreeBSD-src-2adf4999ea9b13a2eb8ace79f6e205664aa62625.zip
FreeBSD-src-2adf4999ea9b13a2eb8ace79f6e205664aa62625.tar.gz
Don't reference non-existent __fcntl_compat if WITHOUT_SYSCALL_COMPAT is defined.
Submitted by: Pawel Worach "pawel dot worach at gmail dot com"
Diffstat (limited to 'lib/libthr/Makefile')
-rw-r--r--lib/libthr/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile
index 8f21ce5..eba30d8 100644
--- a/lib/libthr/Makefile
+++ b/lib/libthr/Makefile
@@ -51,4 +51,8 @@ SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a
.endif
+.if !defined(WITHOUT_SYSCALL_COMPAT)
+CFLAGS+=-DSYSCALL_COMPAT
+.endif
+
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud