From 06cad3fe2285d591bc0bf3033b732ec5e2a5a00b Mon Sep 17 00:00:00 2001 From: Stephen Lombardo Date: Sat, 30 May 2009 01:04:20 -0400 Subject: [PATCH] disable assertions in sqlite3 amalgamation compile flags --- sqlcipher.xcodeproj/project.pbxproj | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/sqlcipher.xcodeproj/project.pbxproj b/sqlcipher.xcodeproj/project.pbxproj index 7138b94..d19f0df 100644 --- a/sqlcipher.xcodeproj/project.pbxproj +++ b/sqlcipher.xcodeproj/project.pbxproj @@ -181,7 +181,11 @@ GCC_OPTIMIZATION_LEVEL = 0; HEADER_SEARCH_PATHS = "$(OPENSSL_SRC)/include"; INSTALL_PATH = /usr/local/lib; - OTHER_CFLAGS = "-DSQLITE_HAS_CODEC"; + OTHER_CFLAGS = ( + "-DSQLITE_HAS_CODEC", + "-DNDEBUG", + "-DSQLITE_OS_UNIX=1", + ); OTHER_LDFLAGS = ""; PRODUCT_NAME = sqlcipher; }; @@ -195,7 +199,11 @@ GCC_MODEL_TUNING = G5; HEADER_SEARCH_PATHS = "$(OPENSSL_SRC)/include"; INSTALL_PATH = /usr/local/lib; - OTHER_CFLAGS = "-DSQLITE_HAS_CODEC"; + OTHER_CFLAGS = ( + "-DSQLITE_HAS_CODEC", + "-DNDEBUG", + "-DSQLITE_OS_UNIX=1", + ); OTHER_LDFLAGS = ""; PRODUCT_NAME = sqlcipher; };