Merge lp:~peter-pearse/ubuntu/natty/sqlite/prop001 into lp:ubuntu/natty/sqlite

Proposed by Peter Pearse
Status: Needs review
Proposed branch: lp:~peter-pearse/ubuntu/natty/sqlite/prop001
Merge into: lp:ubuntu/natty/sqlite
Diff against target: 39 lines (+17/-1)
2 files modified
debian/changelog (+6/-0)
debian/rules (+11/-1)
To merge this branch: bzr merge lp:~peter-pearse/ubuntu/natty/sqlite/prop001
Reviewer Review Type Date Requested Status
Steve Langasek Pending
Review via email: mp+56962@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

13. By Peter Pearse

Cross building fix.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2010-03-07 01:07:57 +0000
3+++ debian/changelog 2011-04-08 14:45:51 +0000
4@@ -1,3 +1,9 @@
5+sqlite (2.8.17-6build2ubuntu1) natty; urgency=low
6+
7+ * Cross building fix
8+
9+ -- Peter Pearse <peter.pearse@linaro.org> Fri, 08 Apr 2011 12:39:10 +0000
10+
11 sqlite (2.8.17-6build2) lucid; urgency=low
12
13 * rebuild rest of main for armel armv7/thumb2 optimization;
14
15=== modified file 'debian/rules'
16--- debian/rules 2009-09-03 18:30:44 +0000
17+++ debian/rules 2011-04-08 14:45:51 +0000
18@@ -23,11 +23,21 @@
19 DEB_AUTO_UPDATE_ACLOCAL = 1.9
20 DEB_AUTO_UPDATE_AUTOMAKE = 1.9 # We don't use automake, but aclocal
21
22-DEB_CONFIGURE_EXTRA_FLAGS = config_TARGET_TCL_INC="-I/usr/include/tcl8.4" \
23+DEB_CONFIGURE_EXTRA_FLAGS = \
24 config_BUILD_CFLAGS="$(CFLAGS) -DTHREADSAFE=1" \
25 config_TARGET_LIBS="-lpthread" \
26 --enable-utf8
27
28+ifeq (yes,$(cdbs_crossbuild))
29+ DEB_CONFIGURE_EXTRA_FLAGS += config_TARGET_TCL_INC="-I/usr/$(DEB_HOST_GNU_TYPE)/include/tcl8.4"
30+ DEB_CONFIGURE_EXTRA_FLAGS += --host $(DEB_HOST_GNU_TYPE) --build $(DEB_BUILD_GNU_TYPE)
31+ DEB_CONFIGURE_EXTRA_FLAGS += config_BUILD_CC=gcc
32+ DEB_CONFIGURE_EXTRA_FLAGS += config_TARGET_CC=$(DEB_HOST_GNU_TYPE)-gcc
33+ DEB_CONFIGURE_EXTRA_FLAGS += config_TARGET_READLINE_INC=-I/usr/$(DEB_HOST_GNU_TYPE)/include
34+else
35+ DEB_CONFIGURE_EXTRA_FLAGS += config_TARGET_TCL_INC="-I/usr/include/tcl8.4"
36+endif
37+
38 DEB_BUILD_MAKE_TARGET = all libtclsqlite.la doc
39 # DEB_MAKE_CHECK_TARGET = test
40

Subscribers

People subscribed via source and target branches

to all changes: