]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Add comments to FreeBSD platform files
authorKurt Zeilenga <kurt@openldap.org>
Wed, 16 Sep 1998 05:55:05 +0000 (05:55 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 16 Sep 1998 05:55:05 +0000 (05:55 +0000)
build/platforms/freebsd2-gcc/Make-platform
build/platforms/freebsd3-gcc/Make-platform

index c5917403187cd1d351ec050b37e324846f86cdb1..037ab3fec02776898b4fa593aeaf9ef3e5b95f84 100644 (file)
@@ -28,7 +28,8 @@ MANCOMPRESSSUFFIX=.gz
 # OpenLDAP is compatible with this version, uncomment the following
 # options:
 #
-#THREADS= -DPOSIX_THREADS -D_THREAD_SAFE -DPTHREAD_PREEMPTIVE
+#THREADS= -DPOSIX_THREADS -D_THREAD_SAFE \
+#      -DPTHREAD_PREEMPTIVE -DSCHED_YIELD_MISSING
 #THREADSLIB= -lc_r
 #
 # Some versions of FreeBSD support the gcc option "-pthread" to
index f5750b49ceba3acd03349afbaf677fd229944a9c..23d0b69e6b1efd927879255a2ef54843014076b1 100644 (file)
@@ -2,11 +2,10 @@
 # LDAP FreeBSD GNU C Make-platform file
 #
 
-
 #
 # add any platform-specific overrides below here
 #
-EXTRACFLAGS=-O -g
+
 LDBMBACKEND=-DLDBM_USE_DBBTREE
 LDBMINCLUDE=-I/usr/include
 
@@ -19,7 +18,6 @@ LDAP_RUNDIR=/var/run
 MANCOMPRESS=gzip
 MANCOMPRESSSUFFIX=.gz
 
-
 #
 # LDAP has a problem with the idea of implicit vs. explicit yields
 # in call conversion threading packages, like the MIT pthreads
@@ -35,6 +33,11 @@ THREADS= -DPOSIX_THREADS -D_THREAD_SAFE -DPTHREAD_PREEMPTIVE
 THREADSLIB= -pthread
 #THREADSLIB= -lc_r
 
+# if you built/installed with -DNOLIBC_R, you'll need uncomment
+# out the following
+#THREADS= -DNO_THREADS -DPTHREAD_PREEMPTIVE
+#THREADSLIB=
+
 # crypt(3) is in a separate library
 LDAP_CRYPT_LIB= -lcrypt