From 8f1d22b718bd2fe6ffa02b98b61c2b869588ca25 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Thu, 26 Feb 2015 18:28:32 -0500 Subject: [PATCH] gnu: sqlite: Add "CFLAGS=-O2 -DSQLITE_SECURE_DELETE" to configure-flags. * gnu/packages/databases.scm (sqlite)[arguments]: Add "CFLAGS=-O2 -DSQLITE_SECURE_DELETE" to configure-flags. --- gnu/packages/databases.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 8d21248fe5..953995e487 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -235,8 +235,10 @@ types are supported, as is encryption.") (base32 "1v2rhgsx27in6dcvxk0pkxc0zrbl38biimjg6c1zxz85jh9hydw6")))) (build-system gnu-build-system) - (inputs - `(("readline" ,readline))) + (inputs `(("readline" ,readline))) + ;; Add -DSQLITE_SECURE_DELETE. GNU Icecat will refuse to use the system + ;; SQLite unless this option is enabled. + (arguments `(#:configure-flags '("CFLAGS=-O2 -DSQLITE_SECURE_DELETE"))) (home-page "http://www.sqlite.org/") (synopsis "The SQLite database management system") (description