summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-02-26 18:28:32 -0500
committerMark H Weaver <mhw@netris.org>2015-02-26 18:30:43 -0500
commit8f1d22b718bd2fe6ffa02b98b61c2b869588ca25 (patch)
tree49a04589153d075a565e3f04c54ca57e16e79dc4
parentf307947ecc8a3427a7787a478ef7d08bdb1e72aa (diff)
downloadgnu-guix-8f1d22b718bd2fe6ffa02b98b61c2b869588ca25.tar
gnu-guix-8f1d22b718bd2fe6ffa02b98b61c2b869588ca25.tar.gz
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.
-rw-r--r--gnu/packages/databases.scm6
1 files 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