commit 150fe964ee2cfa367f51b6c2a7d630de4356bd1a
Author: sailer <[email protected]>
Date:   Thu Apr 23 18:20:15 2009 +0000

    now really fix the CFLAGS issue

 mingw32-sqlite.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mingw32-sqlite.spec b/mingw32-sqlite.spec
index d3c6c43..9ead943 100644
--- a/mingw32-sqlite.spec
+++ b/mingw32-sqlite.spec
@@ -6,7 +6,7 @@
 
 Name:           mingw32-sqlite
 Version:        3.6.12
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        MinGW Windows port of sqlite embeddable SQL database engine
 
 License:        Public Domain
@@ -79,7 +79,7 @@ libtoolize --force
 #   - RWMJ 2008-09-30
 export config_TARGET_EXEEXT=.exe
 # add compile flags to enable rtree, fts3
-export MINGW32_CFLAGS="$MINGW32_CFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 
-DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 
-fno-strict-aliasing"
+export MINGW32_CFLAGS="%{_mingw32_cflags} -DSQLITE_ENABLE_COLUMN_METADATA=1 
-DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 
-fno-strict-aliasing"
 
 %{_mingw32_configure}
 make
@@ -112,6 +112,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Apr 23 2009 Thomas Sailer <[email protected]> - 3.6.12-4
+- fix CFLAGS setting
+
 * Thu Apr 23 2009 Thomas Sailer <[email protected]> - 3.6.12-3
 - use Erik van Pienbroek way to add to CFLAGS
 
_______________________________________________
mingw mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/mingw

Reply via email to