summaryrefslogtreecommitdiff
path: root/package/sqlite/patches/patch-configure
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-08 13:13:16 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-08 13:13:16 +0100
commit4e3cdd73584aed80a843c03079c888c011b46aa6 (patch)
tree47db5cdd356023005772c5df0efe4df569296cd2 /package/sqlite/patches/patch-configure
parenta2b8ffef08ab19fc79e8f07e1ee859e2039793dd (diff)
parent71d64690550602953eea0737507cbc47999b4126 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/sqlite/patches/patch-configure')
-rw-r--r--package/sqlite/patches/patch-configure22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/sqlite/patches/patch-configure b/package/sqlite/patches/patch-configure
new file mode 100644
index 000000000..f4a1d91fd
--- /dev/null
+++ b/package/sqlite/patches/patch-configure
@@ -0,0 +1,22 @@
+--- sqlite-3.7.3.orig/configure 2010-10-07 16:48:41.000000000 +0200
++++ sqlite-3.7.3/configure 2011-03-04 21:58:45.000000000 +0100
+@@ -12389,8 +12389,8 @@ fi
+ # generate command-line programs that run on the build machine.
+ #
+ if test x"$cross_compiling" = xno; then
+- BUILD_CC=$CC
+- BUILD_CFLAGS=$CFLAGS
++ BUILD_CC=$CC_FOR_BUILD
++ BUILD_CFLAGS=$CFLAGS_FOR_BUILD
+ else
+ if test "${BUILD_CC+set}" != set; then
+ for ac_prog in gcc cc cl
+@@ -12437,7 +12437,7 @@ done
+
+ fi
+ if test "${BUILD_CFLAGS+set}" != set; then
+- BUILD_CFLAGS="-g"
++ BUILD_CFLAGS=$CFLAGS_FOR_BUILD
+ fi
+ fi
+