berkeleydb: use O_DIRECT
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 25 Apr 2012 04:30:32 +0000 (04:30 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 25 Apr 2012 14:45:13 +0000 (16:45 +0200)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/berkeleydb/berkeleydb.mk

index bb3fd5dfd92fddb65417630ac114046f592c6863..b2b0a45c2048958974606fa7b4284f6eaa241045 100644 (file)
@@ -28,6 +28,7 @@ define BERKELEYDB_CONFIGURE_CMDS
                --disable-compat185 \
                $(SHARED_STATIC_LIBS_OPTS) \
                --with-pic \
+               --enable-o_direct \
        )
        $(SED) 's/\.lo/.o/g' $(@D)/build_unix/Makefile
 endef