diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-07-16 12:48:55 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-07-16 12:49:29 +0200 |
commit | dc624849bf602072fc91ea4182462b5660888c76 (patch) | |
tree | 44df6c7b56ca141e8348f0ff0586577e62820758 /external/db_drivers/liblmdb64/CMakeLists.txt | |
parent | Merge pull request #338 (diff) | |
parent | fixed ARM arch test to prevent breaking on short arch strings (diff) | |
download | monero-dc624849bf602072fc91ea4182462b5660888c76.tar.xz |
Merge pull request #339
54c785d fixed ARM arch test to prevent breaking on short arch strings (Riccardo Spagni)
a4254a4 updated vl32 to current (Riccardo Spagni)
e6ab2df updated in-source lmdb (Riccardo Spagni)
ea08c76 open() flag O_DSYNC isn't on BSD, use O_SYNC (Thomas Winget)
Diffstat (limited to 'external/db_drivers/liblmdb64/CMakeLists.txt')
-rw-r--r-- | external/db_drivers/liblmdb64/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/external/db_drivers/liblmdb64/CMakeLists.txt b/external/db_drivers/liblmdb64/CMakeLists.txt index 62b800135..bca7ff51e 100644 --- a/external/db_drivers/liblmdb64/CMakeLists.txt +++ b/external/db_drivers/liblmdb64/CMakeLists.txt @@ -26,6 +26,10 @@ # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +if(FREEBSD) + set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DMDB_DSYNC=O_SYNC") +endif() + set (lmdb_sources mdb.c midl.c) |