mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Kirill Smirnov <kirill.k.smirnov@math.spbu.ru>
To: ptxdist@pengutronix.de
Subject: [ptxdist] PATCH: Fix sqlite conf environment
Date: Wed, 21 Nov 2012 02:07:12 +0400	[thread overview]
Message-ID: <50ABFF10.9090103@math.spbu.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 218 bytes --]

Hi!

The attached patch correctly sets up CPPFLAGS variable for sqlite 
package and contains a minor cosmetic fix.

Otherwise configure script cannot find external libraries and headers 
(such as readline).

--
Kirill

[-- Attachment #2: sqlite_make.patch --]
[-- Type: text/plain, Size: 635 bytes --]

diff --git a/rules/sqlite.make b/rules/sqlite.make
index 0ff4c86..25ff3b7 100644
--- a/rules/sqlite.make
+++ b/rules/sqlite.make
@@ -34,12 +34,13 @@ SQLITE_LICENSE	:= public_domain
 # ----------------------------------------------------------------------------
 
 SQLITE_CONF_ENV := \
-	CPPFLAGS=" \
+	$(CROSS_ENV) \
+	CPPFLAGS="$(CROSS_CPPFLAGS) \
 	-DSQLITE_ENABLE_COLUMN_METADATA \
 	-DSQLITE_ENABLE_FTS3 \
 	-DSQLITE_ENABLE_RTREE=1 \
 	-DSQLITE_ENABLE_UNLOCK_NOTIFY \
-	-DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1\
+	-DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1 \
 	-DSQLITE_OMIT_LOOKASIDE=1 \
 	-DSQLITE_SECURE_DELETE \
 	-DSQLITE_SOUNDEX=1 \

[-- Attachment #3: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2012-11-20 22:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-20 22:07 Kirill Smirnov [this message]
2012-12-08  0:22 ` Kirill Smirnov
2013-01-03 14:38   ` Michael Olbrich
2013-01-04 14:59     ` Kirill Smirnov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50ABFF10.9090103@math.spbu.ru \
    --to=kirill.k.smirnov@math.spbu.ru \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox