now really fix the CFLAGS issue

This commit is contained in:
sailer 2009-04-23 18:20:15 +00:00
parent 82428ca16f
commit 150fe964ee

View File

@ -6,7 +6,7 @@
Name: mingw32-sqlite Name: mingw32-sqlite
Version: 3.6.12 Version: 3.6.12
Release: 3%{?dist} Release: 4%{?dist}
Summary: MinGW Windows port of sqlite embeddable SQL database engine Summary: MinGW Windows port of sqlite embeddable SQL database engine
License: Public Domain License: Public Domain
@ -79,7 +79,7 @@ libtoolize --force
# - RWMJ 2008-09-30 # - RWMJ 2008-09-30
export config_TARGET_EXEEXT=.exe export config_TARGET_EXEEXT=.exe
# add compile flags to enable rtree, fts3 # 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} %{_mingw32_configure}
make make
@ -112,6 +112,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Thu Apr 23 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 3.6.12-4
- fix CFLAGS setting
* Thu Apr 23 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 3.6.12-3 * Thu Apr 23 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 3.6.12-3
- use Erik van Pienbroek way to add to CFLAGS - use Erik van Pienbroek way to add to CFLAGS