Tweak comments, defaults should be OK already

vmware
Howard Chu 12 years ago
parent fa7228962b
commit 8ae56c34d5
  1. 13
      libraries/liblmdb/Makefile

@ -3,7 +3,9 @@
######################################################################## ########################################################################
# Configuration. The compiler options must enable threaded compilation. # Configuration. The compiler options must enable threaded compilation.
# #
# Preprocessor macros (for CPPFLAGS) of interest: # Preprocessor macros (for CPPFLAGS) of interest...
# Note that the defaults should already be correct for most
# platforms; you should not need to change any of these:
# #
# To compile successfully if the default does not: # To compile successfully if the default does not:
# - MDB_USE_POSIX_SEM (enabled by default on BSD, Apple) # - MDB_USE_POSIX_SEM (enabled by default on BSD, Apple)
@ -11,7 +13,7 @@
# semaphores and shared mutexes have different behaviors and # semaphores and shared mutexes have different behaviors and
# different problems, see the Caveats section in lmdb.h. # different problems, see the Caveats section in lmdb.h.
# #
# For best performence or to compile successfully: # For best performance or to compile successfully:
# - MDB_DSYNC = "O_DSYNC" (default) or "O_SYNC" (less efficient) # - MDB_DSYNC = "O_DSYNC" (default) or "O_SYNC" (less efficient)
# If O_DSYNC is undefined but exists in /usr/include, # If O_DSYNC is undefined but exists in /usr/include,
# preferably set some compiler flag to get the definition. # preferably set some compiler flag to get the definition.
@ -25,14 +27,13 @@
# Data format: # Data format:
# - MDB_MAXKEYSIZE # - MDB_MAXKEYSIZE
# Controls data packing and limits, see mdb.c. # Controls data packing and limits, see mdb.c.
# # You might need to change this if the default size is too small.
# Debugging:
# - MDB_DEBUG, MDB_PARANOID.
# #
CC = gcc CC = gcc
W = -W -Wall -Wno-unused-parameter -Wbad-function-cast W = -W -Wall -Wno-unused-parameter -Wbad-function-cast
THREADS = -pthread
OPT = -O2 -g OPT = -O2 -g
CFLAGS = -pthread $(OPT) $(W) $(XCFLAGS) CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS)
LDLIBS = LDLIBS =
SOLIBS = SOLIBS =
prefix = /usr/local prefix = /usr/local

Loading…
Cancel
Save