heed Erik van Pienbroek advice wrt. CFLAGS
This commit is contained in:
parent
c63def1a17
commit
82428ca16f
@ -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@alumni.ethz.ch> - 3.6.12-3
|
||||
- use Erik van Pienbroek way to add to CFLAGS
|
||||
|
||||
* Thu Apr 23 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 3.6.12-2
|
||||
- BR tclsh; the build process without tclsh and with extensions
|
||||
enabled is broken
|
||||
|
Loading…
Reference in New Issue
Block a user