[mingw-sqlite: 7/31] heed Erik van Pienbroek advice wrt. CFLAGS

Kalev Lember kalev at fedoraproject.org
Tue Mar 6 21:32:34 UTC 2012


commit 82428ca16f1b0b93e2c30196119c1f0ddd4f1ddb
Author: sailer <sailer at fedoraproject.org>
Date:   Thu Apr 23 17:11:32 2009 +0000

    heed Erik van Pienbroek advice wrt. CFLAGS

 mingw32-sqlite.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mingw32-sqlite.spec b/mingw32-sqlite.spec
index 9b87b6a..d3c6c43 100644
--- a/mingw32-sqlite.spec
+++ b/mingw32-sqlite.spec
@@ -6,7 +6,7 @@
 
 Name:           mingw32-sqlite
 Version:        3.6.12
-Release:        2%{?dist}
+Release:        3%{?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="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields -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 <t.sailer at alumni.ethz.ch> - 3.6.12-3
+- use Erik van Pienbroek way to add to CFLAGS
+
 * Thu Apr 23 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 3.6.12-2
 - BR tclsh; the build process without tclsh and with extensions
   enabled is broken


More information about the mingw mailing list